Learn R Programming

broman (version 0.59-5)

make: Run make within a package directory

Description

Run make within a package directory

Usage

make(pkg = ".", makefile = "Makefile", target = "", quiet = 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 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.

Value

  • Exit value from system with intern=FALSE

See Also

load_all

Examples

Run this code
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