names_glue
evaluation issues
#1485
Labels
bug
an unexpected problem or unintended behavior
pivoting ♻️
pivot rectangular data to different "shapes"
Environment
Currently no environment is passed to
glue_data()
so the current environment is used as default. This means that the glue string can access internal tidyr data:And conversely can't access user data that's not reachable through the global env:
Englueing
@charliejhadley brought up the following problem a few months ago: https://gist.github.com/charliejhadley/47f123256d392b569fc3c33ec3d436ac
It could be solved by using
rlang::englue()
instead ofglue::glue_data()
. This would require r-lib/rlang#1565. Then the solution would be:The text was updated successfully, but these errors were encountered: