Skip to content

Commit

Permalink
* Do not duplicate irace-acotsp.Rdata or sann.rda. Regenerate examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
MLopez-Ibanez committed Aug 1, 2024
1 parent f271b99 commit 0bfaee3
Show file tree
Hide file tree
Showing 9 changed files with 257 additions and 224 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ winbuild: releasebuild
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 inst/exdata/ devel-examples/vignette-example/log-ablation.Rdata devel-examples/vignette-example/irace-acotsp.Rdata devel-examples/vignette-example/sann.rda
mv -t vignettes/ devel-examples/vignette-example/*.Rdata devel-examples/vignette-example/irace-acotsp-stdout.txt
mv -t inst/exdata/ vignettes/log-ablation.Rdata
$(MAKE) vignettes
$(MAKE) check

Expand Down
Binary file removed 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.
1 change: 0 additions & 1 deletion inst/exdata/sann.rda

This file was deleted.

Binary file added inst/exdata/sann.rda
Binary file not shown.
Binary file modified vignettes/examples.Rdata
Binary file not shown.
473 changes: 253 additions & 220 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 0bfaee3

Please sign in to comment.