Function to create a pipeline task as an R file

makeCaprScript(
  scriptName,
  configBlock = NULL,
  date = lubridate::today(),
  projectPath = here::here(),
  open = TRUE
)

Arguments

scriptName

The name of the capr file that is being created

configBlock

the name of the config block to use for the script

date

the date the script was built, default to today's date

projectPath

the path to the project

open

toggle on whether the file should be opened