make: Run make within a package directory

View source: R/make.R

makeR Documentation

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

## Not run: make() # run make within working directory
make("/path/to/mypackage") # run make within /path/to/mypackage

## End(Not run)


broman documentation built on May 29, 2024, 7:18 a.m.

Related to make in broman...