executeAll: Execute all scripts inside a folder

Description Usage Arguments Details Value Author(s)

View source: R/executeAll.r

Description

Source all files with a .r or .R extension in the specified folder.

Usage

1
executeAll(fullPath = NULL, echo = FALSE, local = TRUE, recursive = FALSE)

Arguments

fullPath

A character vector with the path to the folder containing the scripts to execute

echo

logical. Passed to source.

local

logical. Passed to source.

recursive

logical. Passed to list.files. Should the listing recurse into directories?

Details

If not working inside an Rproject, path has to be complete from root.

Value

The list of executed scripts.

Author(s)

Alban Sagouis


AlbanSagouis/myToolbox documentation built on Feb. 1, 2021, 1:08 p.m.