quo_expr: Squash a quosure

View source: R/lifecycle-deprecated.R

quo_exprR Documentation

Squash a quosure

Description

[Deprecated] This function is deprecated, please use quo_squash() instead.

Usage

quo_expr(quo, warn = FALSE)

Arguments

quo

A quosure or expression.

warn

Whether to warn if the quosure contains other quosures (those will be collapsed). This is useful when you use quo_squash() in order to make a non-tidyeval API compatible with quosures. In that case, getting rid of the nested quosures is likely to cause subtle bugs and it is good practice to warn the user about it.


hadley/rlang documentation built on Nov. 1, 2024, 4 p.m.