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)

Arguments

arg

character name of the package to build.

masterfile

characer path to file in data-raw that sources processing scripts. Will do a partial build of the package.

Value

logical TRUE if succesful, FALSE, if not.