drake (version 6.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: also print checks and cache info.

  • 3: also print any potentially missing items.

  • 4: also print imports and writes to the cache.

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