| add_recipe | R Documentation | 
Add a recipe to a WORCS project file to generate its endpoints.
add_recipe(
  worcs_directory = ".",
  recipe = "rmarkdown::render('manuscript/manuscript.Rmd')",
  terminal = FALSE,
  verbose = TRUE,
  ...
)
| worcs_directory | Character, indicating the WORCS project directory to which to save data. The default value "." points to the current directory. Default: '.' | 
| recipe | Character string, indicating the function call to evaluate in order to reproduce the endpoints of the WORCS project. | 
| terminal | Logical, indicating whether or not to evaluate the  | 
| verbose | Logical. Whether or not to print status messages to the
console. Default:  | 
| ... | Additional arguments. | 
No return value. This function is called for its side effects.
add_endpoint
snapshot_endpoints
check_endpoints
# Create directory to run the example
if(requireNamespace("withr", quietly = TRUE)){
withr::with_tempdir({
file.create(".worcs")
writeLines("test", "test.txt")
add_recipe()
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.