Add a _targets.R script to a project directory
Usage
targetsScript(project_directory, type = projectTypes())
Arguments
- project_directory
the project directory file path
- type
project type. Should be one returned by
projectTypes()
Examples
if (FALSE) {
projectSkeleton(paste0(tempdir(),'/test_project'))
targetsPipeline(paste0(tempdir(),'/test_project'),type = 'report')
}