-
Notifications
You must be signed in to change notification settings - Fork 32
Failure with dev glue #788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks @jennybc I'll get this updated. FYI that section of code was due to this issue Rdatatable/data.table#4879. Essentially |
I released glue 1.7.0 today without this change and then re-introduced the change. So you can expect it to be present in glue's next release, which I have no concrete plans for. But barring an unforeseen release in the next ~2 weeks, I will consider this issue as me having given plenty of notice of the change. This also means you can check your package in the presence of dev glue to test your own fix for the issue. |
Thanks @jennybc. I just verified that the fix works with dev |
Uh oh!
There was an error while loading. Please reload this page.
This issue is inspired by doing revdep checks for glue. I'm going to temporarily back off on the associated change in glue, just so I can release without any breakage of other packages.
But please do consider this a heads up that, in the future,
glue::glue()
will error when.envir
is not an actual environment..envir
has always been documented to be an environment and I'd like to make that actually true.OTOH
glue_data()
does officially accept something "list-ish" as.x
. So chances are you should switch toglue_data(.x = list_ish_thing, ...)
as opposed toglue(.envir = list_ish_thing, ...)
in one or more places here in this package.I started to see if I could make a PR for you, but it's not a clear "drive by fix". But I suspect the problematic
glue()
call has its origins around here:tidytable/R/utils-prep_exprs.R
Line 110 in d2ebb76
Backstory in glue:
tidyverse/glue#308
tidyverse/glue@e2b74ff
Before I (temporarily) rolled the change back in glue, here's what the tidytable failure look like for me:
https://github.com/tidyverse/glue/blob/c98f106c420d658da8010627d4a2a4d19f97d758/revdep/problems.md#tidytable
The text was updated successfully, but these errors were encountered: