tar_language: Language

Description Usage Arguments Details See Also Examples

Description

These functions help with metaprogramming in packages built on top of targets.

Usage

1
2
3
4
5
6
7
tar_deparse_language(expr)

tar_deparse_safe(expr, collapse = "\n", backtick = TRUE)

tar_tidy_eval(expr, envir, tidy_eval)

tar_tidyselect_eval(names_quosure, choices)

Arguments

expr

A language object to modify or deparse.

collapse

Character of length 1, delimiter in deparsing.

backtick

logical indicating whether symbolic names should be enclosed in backticks if they do not follow the standard syntax.

envir

An environment to find objects for tidy evaluation.

tidy_eval

Logical of length 1, whether to apply tidy evaluation.

names_quosure

An rlang quosure with tidyselect expressions.

choices

A character vector of choices for character elements returned by tidy evaluation.

Details

See Also

Other utilities to extend targets: tar_assert, tar_condition, tar_dir(), tar_test()

Examples

1

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