[Stable]

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

run_all_scripts(index, quiet = FALSE)

Arguments

index

Numeric index for subsetting list of scripts before running.

quiet

Argument passed to rmarkdown::render().

Value

Invisibly returns TRUE if file creation is successful.

Details

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