Make: Run the make command

Description Usage Arguments Details See Also Examples

View source: R/Make.R

Description

This will run the make program with whatever target the user selects. The default target is "all". The function works by calling the system2 function. It is presumed that an appropriate make utilty exists on the user's computer. Further note that the default makefile for an analysis project uses GNU extensions like wildcards.

Usage

1
Make(target = "all", command = "", ...)

Arguments

target

The make target to run

command

User-supplied location of the make command

...

Additional arguments to the system2 function

Details

The function will to try to confirm

See Also

system2 system Sys.which

Examples

1
2
3
4
5
6
7
## Not run: 
Make()
Make("clean", command = "/usr/bin/gmake")
Make("gather")
Make("MyFile.rda")

## End(Not run)

represtools documentation built on Oct. 4, 2019, 1:04 a.m.