sourceDir: Source all R files in a given directory Source all R files in...

View source: R/sourceDir.R

sourceDirR Documentation

Source all R files in a given directory Source all R files in a given directory into the current R session. Typically used to test some changes in a package without NAMESPACE issues.

Description

Source all R files in a given directory Source all R files in a given directory into the current R session. Typically used to test some changes in a package without NAMESPACE issues.

Usage

sourceDir(path, pattern = "\\.[Rr]$", trace = TRUE, ...)

Arguments

path

path to a directory of R files

pattern

filename pattern to source

trace

list file names as sourced

...

other arguments passed to source

Source

This comes from https://github.com/geneorama/geneorama/blob/master/R/sourceDir.R


friendly/myutil documentation built on Nov. 1, 2024, 1:01 p.m.