targetsRun | R Documentation |
Add a run.R script to a project directory that can be used to trigger building a targets workflow.
targetsRun(project_directory, renv = TRUE)
project_directory |
the project directory file path |
renv |
add line to script restore package environment using renv |
## Not run:
projectSkeleton(paste0(tempdir(),'/test_project'))
targetsRun(paste0(tempdir(),'/test_project'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.