rlang (version 0.0.0.9000)

new_tidy_quote: Create a tidy quote by hand.

Description

This is similar to new_formula() but for one-sided formulas. See tidy_quote() for the role played by such formulas in the tidy evaluation framework.

Usage

new_tidy_quote(rhs, env = caller_env())

Arguments

rhs
A call, name, or atomic vector.
env
An environment.

Examples

Run this code
f <- new_tidy_quote(quote(mtcars), env("datasets"))
f
tidy_eval(f)

Run the code above in your browser using DataLab