shell.sh
file required by
make(..., parallelism = 'Makefile', prepend = 'SHELL=./shell.sh')
.R/parallel_ui.R
This function also does a chmod +x
to enable execute permissions.
shell_file(path = "shell.sh", overwrite = FALSE)
path | file path of the shell file |
---|---|
overwrite | logical, whether to overwrite a possible destination file with the same name |
The return value of the call to file.copy()
that
wrote the shell file.
make()
, max_useful_jobs()
,
parallelism_choices()
, drake_batchtools_tmpl_file()
,
drake_example()
, drake_examples()
# NOT RUN { test_with_dir("Quarantine side effects.", { # Write shell.sh to your working directory. # Read the parallelism vignette to learn how it is used # in Makefile parallelism. shell_file() }) # }