make: Run 'make' in the system

View source: R/make.R

makeR Documentation

Run make in the system

Description

This function executes the make command to rebuild all dependencies according to the Makefile generated by makefile().

Usage

make(..., .stdout = "", .stderr = "", .stdin = "")

Arguments

...

Command-line arguments passed to the make command (see ?make in your shell for details)

.stdout

Where to direct standard output; see base::system2().

.stderr

Where to direct standard error; see base::system2().

.stdin

Where to get standard input; see base::system2()

Value

Exit status of the command; see base::system2() for details.

Author(s)

Michal Burda

See Also

makefile(), rmakeSkeleton()

Examples

## Not run: 
  make()        # make all
  make('clean') # make the 'clean' task
  make('-j', 4) # make with 4 processes in parallel

## End(Not run)

rmake documentation built on Nov. 12, 2025, 9:06 a.m.