plan_workflow: Function 'plan_workflow'

Description Usage Arguments

View source: R/ui.R

Description

Main function of the package. Produces a Makefile to run a workflow.

Usage

1
2
3
4
plan_workflow(sources, packages = NULL, datasets = NULL, analyses = NULL,
  summaries = NULL, output = NULL, plots = NULL, reports = NULL,
  makefile = "Makefile", remakefile = "remake.yml", begin = NULL,
  clean = NULL, remake_args = list())

Arguments

sources

Character vector of code files to load or folders containing code.

packages

Character vector of packages to load.

datasets

Named character vector of commands to make datasets.

analyses

Named character vector of commands to make analyses.

summaries

Named character vector of commands to make summaries.

output

Named character vector of commands to make output targets.

plots

Named character vector of commands to make plots.

reports

Named character vector of instructions to make reports.

makefile

Character, name of the Makefile. Should be in the current working directory. Set to NULL to suppress the writing of the Makefile.

remakefile

Character, name of the remake file to generate. Should be in the current working directory.

begin

Character vector of lines to prepend to the Makefile.

clean

Character vector of extra shell commands for make clean.

remake_args

Fully-named list of additional arguments to remake::make. You cannot set target_names or remake_file this way.


wlandau/workflowHelper documentation built on May 4, 2019, 8:45 a.m.