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.

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

Examples

if (FALSE) { Make() Make("clean", command = "/usr/bin/gmake") Make("gather") Make("MyFile.rda") }