Assumes .R files in "data-raw" generate rda files to be stored in "data".
Sources datasets.R which can source other R files.
R files sourced by datasets.R must invoke sys.source("myRfile.R",env=topenv())
.
Meant to be called before R CMD build.
DataPackageR(arg = NULL, masterfile = NULL)
arg |
|
---|---|
masterfile |
|
logical TRUE if succesful, FALSE, if not.