-
Notifications
You must be signed in to change notification settings - Fork 45
Depend on R >= 4.1 after dropping magrittr dependence #371
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @jmaspons. I've added suggestions reverting the not-run examples back to the original text, rather than opq(bb)
. I said in one comment that I think this is how most people would use this functionality, but I also think it demonstrates the important point that opq()
can equally accept either bounding coordinates or place names. If that's all okay with you, could you please accept all suggestions and then update docs. Thanks!
Sorry @jmaspons, but another request for change: All of the |
Ready for a new round, @mpadge For ropensci-review-tools/pkgcheck#246 (comment), what's the problem running the tests? Is just the long runtime? Errors if !has_internet()? |
Thanks so much for all your work. The only minor suggestions I've now added are removing all of the
I was just referring to the fact that in our case we have to have examples witth |
But why? It's because it would take too much time to check the package? You don't want to bother overpass servers? Instabilities due to relaying on overpass servers? I tried to check all the code in examples but the donttest container from r-hub seems to skip them anyway r-hub/containers#94 By the way, valgrind seems to find problems. I don't know if they are relevant or fixable |
Simplify examples assuming R >= 4.1 + fixes from examplesIf branch FIX ropensci#358 DROP ropensci#369
Oh sorry, no just because
Oh thanks, always good to check those, but they're all caused by stuff outside our package. The key there is they're only "possibly lost" at the very end. That's generally okay, while "definitely lost" signal genuine problems. Our own https://github.com/ropensci/osmdata/blob/main/tests/valgrind-test.R is run each time with tests anyway, and that should be considered the definitive checker of valgrind errors. (And in case you're unsure, valgrind checks for memory leaks in compiled code.) |
Ok! It seems the valgrind test is not ran anymore and tests/valgrind-script.R was removed, but now I see that the logs from r-hub points to libudunits2 and libexpat. |
No,
And the script should do nothing, but it will error if anything goes wrong. Just so that you know that that script is actually important, and is still used in every test run |
I was referring to valgrind-script.R that was removed and referenced in valgrind-test.R. Searching valgrind in https://github.com/ropensci/osmdata/actions/runs/15874044044/job/44757270849 finds nothing. Also, running
Just to learn new things, it's fine as it is. |
Oh yeah, you're right! The function is just a definition. The script was the bit that actually ran it. I'll try to get it going again. Thanks! (And twalt ervor is probably just because you don't have valgrind installed.) |
Simplify examples assuming R >= 4.1 + fixes from examplesIf branch
FIX #358
DROP #369