source_all: Source all functions

View source: R/source_all.R

source_allR Documentation

Source all functions

Description

Source all R files in a directory at once. Also loads selected libraries. This function can be useful when developing R packages, instead of rebuilding the entire package every time you make a change (which is a more robust way to checking the package works, but is much slower).

Usage

source_all(path = "R/", pattern = "*.R$", packages = "dplyr", ...)

Arguments

path

Directory containing R files.

pattern

File name pattern to search for.

packages

Packages to install and load.

...

Additional arguments passed to source.

Value

Null


neurogenomics/EpiProcess documentation built on March 19, 2022, 7:13 a.m.