Skip to contents

Shorthand for `targets::tar_load_globals(envir = .GlobalEnv)`. Loads all global objects (functions, constants, etc.) defined in the targets script.

Usage

tg()

Value

Invisibly returns NULL. Called for side effects (loading globals into the global environment).

Examples

if (FALSE) { # \dontrun{
tg()  # Load globals from the current targets pipeline
} # }