source_all: source_all

View source: R/source_all.R

source_allR Documentation

source_all

Description

Source all files in a directory at once. Also loads selected libraries.

Usage

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

Arguments

path

a character vector of full path names; the default corresponds to the working directory, getwd(). Tilde expansion (see path.expand) is performed. Missing values will be ignored. Elements with a marked encoding will be converted to the native encoding (and if that fails, considered non-existent).

pattern

an optional regular expression. Only file names which match the regular expression will be returned.


RajLabMSSM/echoLD documentation built on May 12, 2024, 3:23 a.m.