Learn R Programming

broman (version 0.68-2)

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
# NOT RUN {
make() # run make within working directory
make("/path/to/mypackage") # run make within /path/to/mypackage
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab