-
Notifications
You must be signed in to change notification settings - Fork 52
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
Issues with replace_na()
in tidyr v1.2.0
#68
Comments
Thanks for catching this! Can you link to the relevant line? Would it fix things to make sure that the treatment time is a double? |
Is this issue solved? Thanks in advance! |
Sorry for the delay here, this should be fixed now! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone!
We just noticed that a change in the newly released version of
tidyr
(v1.2.0) causes a problem withaugsynth()
.Specifically, in the new version of tidyr, the
replace_na()
function no longer allows the type ofdata
to change (more info on this change can be found here). Therefore, replacing NA's of the integer columntrt_time
withInf
through the line:mutate(trt_time = replace_na(trt_time, Inf))
makes the code crash asreplace_na()
can't no longer convert from double to integer.Best.
Arturo
The text was updated successfully, but these errors were encountered: