R/tar_eval_raw.R

Defines functions tar_eval_raw

Documented in tar_eval_raw

#' @rdname tar_eval
#' @export
tar_eval_raw <- function(expr, values, envir = parent.frame()) {
  targets::tar_assert_lang(expr)
  assert_values_list(values)
  force(envir)
  exprs <- tar_sub_raw(expr = expr, values = values)
  lapply(X = exprs, FUN = eval, envir = envir)
}

Try the tarchetypes package in your browser

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

tarchetypes documentation built on June 8, 2025, 10:27 a.m.