Evaluate the recipe contained in a WORCS project to derive its endpoints.
Arguments
- worcs_directory
Character, indicating the WORCS project directory to which to save data. The default value "." points to the current directory. Default: '.'
- verbose
Logical. Whether or not to print status messages to the console. Default:
TRUE
- check_endpoints
Logical. Whether or not to call
check_endpoints()
after reproducing the recipe. Default:TRUE
- ...
Additional arguments.
Examples
# Create directory to run the example
old_wd <- getwd()
test_dir <- file.path(tempdir(), "reproduce")
dir.create(test_dir)
setwd(test_dir)
file.create(".worcs")
#> [1] TRUE
worcs:::add_recipe(recipe = 'writeLines("test", "test.txt")')
#> ✔ Adding recipe to '.worcs'.
# Cleaning example directory
setwd(old_wd)
unlink(test_dir, recursive = TRUE)