diff --git a/book/chapters/chapter11/large-scale_benchmarking.qmd b/book/chapters/chapter11/large-scale_benchmarking.qmd index c1d5c05a4..08f7ce825 100644 --- a/book/chapters/chapter11/large-scale_benchmarking.qmd +++ b/book/chapters/chapter11/large-scale_benchmarking.qmd @@ -378,8 +378,8 @@ We also set the registry's `seed` to `1` and the `packages` to `"mlr3verse"`, wh ```{r, include = FALSE} #| cache: false -if (dir.exists("experiments")) { - unlink("experiments", recursive = TRUE) +if (dir.exists("~/experiments")) { + unlink("~/experiments", recursive = TRUE) } ``` @@ -389,7 +389,7 @@ library(batchtools) # create registry reg = makeExperimentRegistry( - file.dir = "./experiments", + file.dir = "~/experiments", seed = 1, packages = "mlr3verse" ) @@ -587,15 +587,15 @@ Again we start by creating an experiment registry. ```{r, include = FALSE} #| cache: false -if (dir.exists("experiments-custom")) { - unlink("experiments-custom", recursive = TRUE) +if (dir.exists("~/experiments-custom")) { + unlink("~/experiments-custom", recursive = TRUE) } ``` ```{r large_benchmarking-046, message = FALSE} #| cache: false reg = makeExperimentRegistry( - file.dir = "./experiments-custom", + file.dir = "~/experiments-custom", seed = 1, packages = "mlr3verse" )