Learn R Programming

drake (version 5.2.1)

default_Makefile_args: Return the default value of the args argument to make().

Description

For make(..., parallelism = "Makefile"), this function configures the default arguments to system2(). It is an internal function, and most users do not need to worry about it.

Usage

default_Makefile_args(jobs, verbose)

Arguments

jobs

number of jobs

verbose

logical or numeric, control printing to the console. Use pkgconfig to set the default value of verbose for your R session: for example, pkgconfig::set_config("drake::verbose" = 2).

0 or FALSE:

print nothing.

1 or TRUE:

print only targets to build.

2:

in addition, print checks and cache info.

3:

in addition, print any potentially missing items.

4:

in addition, print imports. Full verbosity.

Value

args for system2(command, args)

Examples

Run this code
# NOT RUN {
default_Makefile_args(jobs = 2, verbose = FALSE)
default_Makefile_args(jobs = 4, verbose = TRUE)
# }

Run the code above in your browser using DataLab