Skip to contents

Not a user-side function. Do not invoke directly. Only exported to on a technicality.

Usage

tar_make_interactive(code)

Arguments

code

Character vector of lines of a _targets.R file to define a pipeline.

Value

NULL (invisibly).

Examples

if (identical(Sys.getenv("TAR_INTERACTIVE_EXAMPLES"), "true")) {
tar_make_interactive("library(targets); tar_target(x, 123)")
message(x)
}