inst/pipelines/_targets_r.R

# Generated by targets: do not edit by hand
library(targets)
lapply(
  X = list.files(
    path = file.path(targets::tar_path_script_support(), "globals"),
    pattern = "\\.R$",
    full.names = TRUE,
    all.files = TRUE,
    recursive = TRUE
  ),
  FUN = function(path) {
    eval(
      expr = parse(file = path, keep.source = TRUE),
      envir = targets::tar_option_get(name = "envir")
    )
  }
)
lapply(
  X = list.files(
    path = file.path(targets::tar_path_script_support(), "targets"),
    pattern = "\\.R$",
    full.names = TRUE,
    all.files = TRUE,
    recursive = TRUE
  ),
  FUN = function(path) {
    eval(
      expr = parse(file = path, keep.source = TRUE),
      envir = targets::tar_option_get(name = "envir")
    )
  }
)

Try the targets package in your browser

Any scripts or data that you put into this service are public.

targets documentation built on Oct. 12, 2023, 5:07 p.m.