tar_deps | R Documentation |
List the dependencies of a function or expression.
tar_deps()
expects the expr
argument to be an unevaluated
expression,
whereas tar_deps_raw()
expects expr
to be an evaluated
expression object. Functions can be passed normally in either case.
tar_deps(expr)
tar_deps_raw(expr)
expr |
An R expression or function.
|
targets
detects the dependencies of commands using
static code analysis. Use tar_deps()
to run the
code analysis and see the dependencies for yourself.
Character vector of the dependencies of a function or expression.
tar_branches()
, tar_network()
Other inspect:
tar_manifest()
,
tar_network()
,
tar_outdated()
,
tar_sitrep()
,
tar_validate()
tar_deps(x <- y + z)
tar_deps(quote(x <- y + z))
tar_deps({
x <- 1
x + a
})
tar_deps(function(a = b) map_dfr(data, ~do_row(.x)))
tar_deps_raw(function(a = b) map_dfr(data, ~do_row(.x)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.