tar_deps_raw: Code dependencies (raw version)

Description Usage Arguments Value See Also Examples

View source: R/tar_deps_raw.R

Description

Same as tar_deps() except expr must already be an unquoted function or expression object.

Usage

1

Arguments

expr

An R expression object or function.

Value

Character vector of the dependencies of a function or expression.

See Also

Other inspect: tar_deps(), tar_glimpse(), tar_manifest(), tar_network(), tar_outdated(), tar_sitrep(), tar_validate(), tar_visnetwork()

Examples

1
2
3
4
5
6
7
8
tar_deps_raw(quote(x <- y + z))
tar_deps_raw(
  quote({
    x <- 1
    x + a
  })
)
tar_deps_raw(function(a = b) map_dfr(data, ~do_row(.x)))

targets documentation built on July 21, 2021, 5:07 p.m.