run_all_scripts: Run all project scripts sequentially

Description Usage Arguments Details Value

View source: R/directory-management.R

Description

[Stable]

Runs/renders all scripts s01_XXX, s02_XXX in the designated "scripts" directory.

Usage

1
run_all_scripts(index, quiet = FALSE)

Arguments

index

Numeric index for subsetting list of scripts before running.

quiet

Argument passed to rmarkdown::render().

Details

Works with .R and .Rmd extensions. Behaviour is to source() .R files and use rmarkdown::render() on .Rmd files

Value

Invisibly returns TRUE if file creation is successful.


NMproject documentation built on Oct. 18, 2021, 1:08 a.m.