-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
tidy-dev-day 🤓Tidyverse Developer Day rstd.io/tidy-dev-dayTidyverse Developer Day rstd.io/tidy-dev-day
Description
I made the mistake not to include some of the named elements & was met with a very strange error it took me a while to figure out:
Error in as.character(.transformer(expr, env)) :
cannot coerce type 'closure' to vector of type 'character'
This is because my input was actually a named function (and even though closure should have been a dead giveaway on this I spent 10 minutes + debugging):
glue::glue_data(list(x = 1), '{x} cannot be bigger than {stop}')
I'm not sure any easy way to fix this/give a more helpful message, but if so it could save time debugging.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
tidy-dev-day 🤓Tidyverse Developer Day rstd.io/tidy-dev-dayTidyverse Developer Day rstd.io/tidy-dev-day