reproduce {worcs} | R Documentation |
Reproduce WORCS Project
Description
Evaluate the recipe contained in a WORCS project to derive its endpoints.
Usage
reproduce(worcs_directory = ".", verbose = TRUE, check_endpoints = TRUE, ...)
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: |
check_endpoints |
Logical. Whether or not to call |
... |
Additional arguments. |
Value
No return value. This function is called for its side effects.
See Also
add_endpoint
snapshot_endpoints
check_endpoints
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")
worcs:::add_recipe(recipe = 'writeLines("test", "test.txt")')
# Cleaning example directory
setwd(old_wd)
unlink(test_dir, recursive = TRUE)
[Package worcs version 0.1.14 Index]