sourcedir: Source R functions in a directory

View source: R/sourcedir.r

sourcedirR Documentation

Source R functions in a directory

Description

Source all the R functions contained in a directory.

Usage

sourcedir(path, trace = TRUE, ...)

Arguments

path

A character vector of full path names; the default corresponds to the working directory, getwd().

trace

Logical. Default to TRUE. See the code.

...

Additional arguments to pass in the function list.files.

Value

Sourcing.

Examples


path <- "D:/Users/Fun"
#sourcedir(path, FALSE)


mlesnoff/rnirs documentation built on April 24, 2023, 4:17 a.m.