tar_callr_args_default: Default 'callr' arguments.

View source: R/utils_callr.R

tar_callr_args_defaultR Documentation

Default callr arguments.

Description

Default callr arguments for the callr_arguments argument of tar_make() and related functions.

Usage

tar_callr_args_default(callr_function, reporter = NULL)

Arguments

callr_function

A function from the callr package that starts an external R process.

reporter

Character of length 1, choice of reporter for tar_make() or a related function.

Details

Not a user-side function. Do not invoke directly. Exported for internal purposes only.

Value

A list of arguments to callr_function.

Examples

tar_callr_args_default(callr::r)

targets documentation built on Oct. 3, 2024, 1:11 a.m.