Learn R Programming

broman (version 0.84)

make: Run make within a package directory

Description

Run make within a package directory

Usage

make(pkg = ".", makefile = "Makefile", target = "", quiet = FALSE)

Value

Exit value from base::system() with intern=FALSE

Arguments

pkg

Path to directory containing the GNU Make file, or an Rpackage description, which can be a path or a package name. (See devtools::as.package() for more information.)

makefile

File name of makefile.

target

Optional character string specifying the target.

quiet

If TRUE suppresses output from this function.

See Also

Examples

Run this code
if (FALSE) make() # run make within working directory
make("/path/to/mypackage") # run make within /path/to/mypackage


Run the code above in your browser using DataLab