-
Notifications
You must be signed in to change notification settings - Fork 65
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
Waldo install fails with dev glue #331
Comments
I suspect you're right. Maybe this is a bug in R-devel? |
IDK if it is a bug in base R, but it seems that this has never actually worked. We don't see errors on the CI because we don't build waldo from source, except on R-devel. But it does fail the same way in all R versions I tried, 4.4.1, 4.3.x, 4.2.x, etc. 4.0.5, and also 3.6.3:
|
Hmmmm, interesting. I will try and figure out what makes |
My (very uneducated) guess is that the difference is that waldo imports glue via So a simple workaround would be (if above is correct) to not import glue in |
Do you have any easier way to test that? I made r-lib/waldo#195. (This does feel like a bug in R to me, since it means you have to think more about how your packages interact, which our previous solution did not 😬) |
Yep, your fix works. This is how to test it easily if you don't want to overwrite your system:
I agree that it is a bug in base R. A half-loaded package should not trigger the conditional S3 methods. (Although that'll make waldo's glue import behave differently at install time than at run time, but still better.) |
Base R bug report: https://bugs.r-project.org/show_bug.cgi?id=18776 |
I don't know where the error lies, I am merely recording this here:
The text was updated successfully, but these errors were encountered: