Skip to contents

Add a _targets.yaml configuration file to a project directory.

Usage

targetsConfig(
  project_directory,
  targets_config = list(main = list(reporter_make = "timestamp_positives"))
)

Arguments

project_directory

the project directory file path

targets_config

a list containing the targets configuration to be written to YAML format

Examples

if (FALSE) {
projectSkeleton(paste0(tempdir(),'/test_project'))
targetsConfig(paste0(tempdir(),'/test_project'))
}