Skip to contents

Build source and binary packages

Usage

build(package = getwd())

Arguments

package

character. Directory path to R package.

Value

character. Named character vector containing binary and source file paths.

Details

Files get built into temporary directory, defined in tempdir().

Note

Updated 2022-10-20.

See also

R CMD build --help.

Examples

## > package <- file.path("~", "monorepo", "r-packages", "r-goalie")
## > build(package = package)