Learn R Programming

broman (version 0.72-4)

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 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.

Value

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

See Also

devtools::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