Skip to content
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

Failure with dev glue #214

Closed
jennybc opened this issue Sep 19, 2024 · 2 comments
Closed

Failure with dev glue #214

jennybc opened this issue Sep 19, 2024 · 2 comments
Milestone

Comments

@jennybc
Copy link

jennybc commented Sep 19, 2024

This issue is inspired by doing revdep checks for glue. In the next release of glue, which is very soon, glue::glue() will error when .envir is not an actual environment. .envir has always been documented to be an environment and I've been working to make this actually true.

I last did revdep checks for this in December 2023 and I opened issue or PRs everywhere that I could. So logger's usage of this pattern must have arisen more recently (?).

glue_data() does officially accept something "list-ish" as .x. So you should switch to glue_data(.x = list_ish_thing, ...) as opposed to glue(.envir = list_ish_thing, ...) in many places here in this package. I haven't made a PR since it's not a simple, single change; I don't trust myself to get this right, quickly, in someone else's package.

Relevant links in glue:

tidyverse/glue#308
tidyverse/glue@e2b74ff
tidyverse/glue#341

Here's what I'm currently seeing for logger in glue's revdep checks:
https://github.com/tidyverse/glue/blob/main/revdep/problems.md#logger

@jennybc
Copy link
Author

jennybc commented Sep 30, 2024

glue 1.8.0 has been accepted on CRAN now.

@daroczig
Copy link
Owner

Thanks for the above, @jennybc 🙇

I plan to do a major logger release on CRAN after going through the remaining PRs and deciding on the outstanding questions, and I will make sure to handle this before that happens.

@daroczig daroczig added this to the v1.0.0 milestone Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants