check_endpoints | R Documentation |
Check that the checksums of all endpoints in a WORCS project match their snapshots.
check_endpoints(worcs_directory = ".", verbose = TRUE, ...)
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 |
... |
Additional arguments. |
Returns a logical value (TRUE/FALSE) invisibly.
add_endpoint
snapshot_endpoints
# Create directory to run the example
old_wd <- getwd()
test_dir <- file.path(tempdir(), "check_endpoint")
dir.create(test_dir)
setwd(test_dir)
file.create(".worcs")
writeLines("test", "test.txt")
add_endpoint("test.txt")
check_endpoints()
# Cleaning example directory
setwd(old_wd)
unlink(test_dir, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.