targets | R Documentation |
Add targets infrastructure to a project directory
targets(
project_directory,
type = projectTypes(),
targets_config = list(main = list(reporter_make = "timestamp_positives")),
renv = TRUE
)
project_directory |
the project directory file path |
type |
project type. Should be one returned by |
targets_config |
a list containing the targets configuration to be written to YAML format |
renv |
interface the use of an renv package cache |
## Not run:
projectSkeleton(paste0(tempdir(),'/test_project'))
targets(paste0(tempdir(),'/test_project'),type = 'report')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.