Skip to content

Commit

Permalink
* Do not duplicate irace-acotsp.Rdata. Regenerate examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
MLopez-Ibanez committed Jul 20, 2024
1 parent 668a28d commit d201bd1
Show file tree
Hide file tree
Showing 8 changed files with 309 additions and 225 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ examples: quick-install
@echo "*** Makefile: Regenerating data for vignettes and examples. This will take time..."
cd devel-examples/vignette-example/ && R --vanilla --slave --file=create-example-file.R
mv -t vignettes/ devel-examples/vignette-example/*.Rdata devel-examples/vignette-example/irace-acotsp-stdout.txt
mv -t inst/exdata/ vignettes/log-ablation.Rdata
mv -t inst/exdata/ vignettes/log-ablation.Rdata vignettes/irace-acotsp.Rdata
$(MAKE) vignettes
$(MAKE) check

Expand Down
Binary file modified devel-examples/vignette-example/sann.rda
Binary file not shown.
1 change: 0 additions & 1 deletion inst/exdata/irace-acotsp.Rdata

This file was deleted.

Binary file added inst/exdata/irace-acotsp.Rdata
Binary file not shown.
Binary file modified inst/exdata/log-ablation.Rdata
Binary file not shown.
Binary file modified vignettes/examples.Rdata
Binary file not shown.
526 changes: 305 additions & 221 deletions vignettes/irace-acotsp-stdout.txt

Large diffs are not rendered by default.

Binary file removed vignettes/irace-acotsp.Rdata
Binary file not shown.
6 changes: 3 additions & 3 deletions vignettes/irace-package.Rnw
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ library(knitr)
<<exampleload,eval=TRUE,include=FALSE>>=
library("irace")
load("examples.Rdata") # loads "experiment" and "output"
iraceResults <- irace::read_logfile("irace-acotsp.Rdata")
log_ablation_file <- file.path(system.file(package="irace"), "exdata", "log-ablation.Rdata")
iraceResults <- irace::read_logfile(system.file(package="irace", "exdata", "irace-acotsp.Rdata", mustWork=TRUE))
log_ablation_file <- system.file(package="irace", "exdata", "log-ablation.Rdata", mustWork = TRUE)
load(log_ablation_file)
options(width = 70)
@
Expand Down Expand Up @@ -2748,7 +2748,7 @@ plotAblation(ablog)
@
<<testAb, fig.pos="htb!", fig.align="center", out.width="0.75\\textwidth", fig.cap="Example of plot generated by \\code{plotAblation()}.", prompt=FALSE, eval=TRUE, echo=FALSE>>=
logfile <- file.path(system.file(package="irace"), "exdata", "log-ablation.Rdata")
logfile <- system.file(package="irace", "exdata", "log-ablation.Rdata", mustWork=TRUE)
plotAblation(logfile)
@
Expand Down

0 comments on commit d201bd1

Please sign in to comment.