Skip to contents

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.

Usage

DataPackageR(arg = NULL, deps = TRUE)

Arguments

arg

character name of the package to build.

deps

logical should scripts pass data objects to each other (default=TRUE)

Value

logical TRUE if successful, FALSE, if not.