tar_make_interactive: Interactive mode pipeline

View source: R/tar_make_interactive.R

tar_make_interactiveR Documentation

Interactive mode pipeline

Description

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)
}

wlandau/targets documentation built on May 1, 2024, 7:27 p.m.