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

If no yaml, avoid prepending with gratuitous \n #93

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

jennybc
Copy link
Member

@jennybc jennybc commented Mar 17, 2023

This PR adapts tinkr for forward compatibility with glue. I will release glue no sooner than 2 weeks from now, so on March 31 (or likely a bit later).

In the next version of glue, glue::glue_collapse() will never return character() but instead will return "" for empty inputs. For more detail see tidyverse/glue#295.

In my hands, this PR makes tinkr work as intended with released glue and dev glue.

@zkamvar
Copy link
Member

zkamvar commented Mar 17, 2023

Thank you! I will admit, when I saw that you had forked the repo, I was kind of excited because "OMG JB noticed!"

I've tested this locally with the dev version of glue and can confirm that it works. I'm going to merge.

Would you like to be added to the DESCRIPTION as a contributor?

I will definitely get this submitted to CRAN if not today then next week by Wednesday.

@jennybc
Copy link
Member Author

jennybc commented Mar 17, 2023

Would you like to be added to the DESCRIPTION as a contributor?

No thanks, this is just me fixing a small thing we're going to break 😅

I will definitely get this submitted to CRAN if not today then next week by Wednesday.

Thanks!

@zkamvar zkamvar merged commit c50a2f0 into ropensci:main Mar 17, 2023
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

Successfully merging this pull request may close these issues.

2 participants