egnha / valaddin

Functional input validation to make R functions more readable and robust
Other
33 stars 1 forks source link

Use eval() not eval_bare() #55

Closed egnha closed 7 years ago

egnha commented 7 years ago

In rlang 0.1.2, certain expressions are not correctly evaluated by eval_bare().

Example:

eval_bare(quote(invisible(0)))
#> [1] 0

This appears to be fixed in the devel version 0.1.2.9000.

To avoid dependence on the devel version, use eval() instead of eval_bare().