Writes an executes a Makefile to distribute remake
targets
over simultaneous processes.
Use the help_parallelRemake
function to get more help.
makefile(targets = "all", remakefiles = "remake.yml", prepend = NULL, remake_args = list(verbose = TRUE), run = TRUE, command = "make", args = character(0))
remake
files.remake::make
.command
and args
will be used to call
system2(command = command, args = args)
to run the Makefile
.
For example, to execute the Makefile
using 4 parallel jobs
while suppressing output to the console, use
makefile(..., command = "make", args = c("--jobs=4", "-s"))
.command
.
command
and args
will be used to call
system2(command = command, args = args)
to run the Makefile
.
For example, to execute the Makefile
using 4 parallel jobs
while suppressing output to the console, use
makefile(..., command = "make", args = c("--jobs=4", "-s"))
.Use the help_parallelRemake
function to get more help.