-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use a character "0"
as the replacement value
#15
Use a character "0"
as the replacement value
#15
Conversation
Thanks @DavisVaughan , would you mind editing also the other instance at Line 325 in b4d1d8f
|
Done! |
Hi @stemangiola, do you plan to send tidygate to CRAN soon? It still shows up in our revdeps and we plan to send tidyr in soon. Thanks! |
I will today |
Hello @DavisVaughan I tried to submit but CRAN is on holidays Submit a package to CRANThe submission team is on vacation till Jan 3, 2022. I doubt you guys will be able to submit before the 3rd. I will try to get it done on that day. |
On CRAN today. |
@stemangiola your package still shows up in revdep checks for tidyr. It seems like the patch from this PR did not make it into the CRAN version of your package. i.e. the CRAN version of your package still errors with the example at the top of this PR, and if you download the source code off CRAN then it doesn't have this patch. Can you please check on this for us? We plan to release tidyr this week! |
Apologies @DavisVaughan, not sure what happened. Now a double-checked new version 0.4.9 is submitted to CRAN. |
We are updating
tidyr::replace_na()
to utilize vctrs, and that results in slightly stricter / more correct type conversions. See tidyverse/tidyr#1219We noticed in revdeps that this package broke. An easy way to see this is by installing the PR mentioned above and running:
Created on 2021-11-18 by the reprex package (v2.0.1)
The problem boils down to the fact that you are calling
replace_na(<chr>, replace = 0)
, where the column you are replacing in (gate
) is a character column, but the replacement value is a numeric value. This is no longer allowed. It looks like you actually did want a character column here forgate
(based on theunite()
call earlier, which returns a character vector), so I have changed0
to"0"
.We would greatly appreciate if you could merge this PR and submit a patch release of your package to CRAN so we can send tidyr in!