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

Description Usage Arguments Source

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

1
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 May 16, 2019, 3:29 p.m.