-
Notifications
You must be signed in to change notification settings - Fork 20
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
dependency on retiring spatial infrastructure packages #89
Comments
thanks for the info @Faye-yufan @ampurr this may be addressed over during GSOC. Probably the simplest fix would be to remove this function (I don't think it is used in any examples/tests). |
Yes for sure! |
Confirming that |
Please proceed quickly: with
Reproduce with |
@rsbivand: Thanks for letting us know! But, uh... sorry, I'm confused. I thought we had till October. What's changed? |
I didn't debug why switching |
Thanks for clarifying and for offering to help. I appreciate it. Unfortunately, as the most technically incompetent member of the @Faye-yufan and @faizan-khan-iit, do you understand what's happening? I also haven't been added as a contributor yet, so I can't do anything anyway. Skimming through the
are the only parts of |
Only The error I see in |
Got it, thanks! I'm sure one of my colleagues will implement your solution before the June 10th deadline. 🌈🐱 |
I hope this helps. |
For sure. Thanks for taking the time to let us know and come up with solutions. Hope you have a good day and see lots of cats. 😄 |
Fun fact: it turns out that the colleague is me. (Can we be our own colleague? Will the Linguists' Guild come after me if I claim that I am? 🤔) @rsbivand, I am—and have been—removing the [1] But, again, your suggestion is appreciated! |
Great, good luck! |
@ampurr can you please write a PR which removes these features, and ask me for review? |
@rsbivand: Oh, neat! I didn't use R back then, so I wasn't aware of that history. Is that why he tells people to use
@tdhock: Already on it! Will do. 🐈 Some information on what's happening: the removal itself was relatively straightforward, though the non-bijective relationship between the R files and the Rd files made removal somewhat unclear. That part's done. I'm currently debugging some error messages resulting from |
great, thanks, please push what you have so far and create a PR "in progress" then tell me when it is ready for review. |
@tdhock, @Faye-yufan: Okay, progress update. So, after some experimenting, I'm pretty sure the problem is with the removal of the More specifically, I think the problem lies with All right. That's fine. The high priest of R, Hadley Wickham, said to use Except! Except there's a small problem: "Data frame tidiers are deprecated and will be removed from an upcoming release of broom." So we're outta luck there and need to figure out an alternate solution. Anyway, it's real late, so I'm gonna sleep and see what I can figure out when I wake up. Maybe the problem seems more complicated than it actually is. 🐈 |
I would rather avoid depending on broom, so let's just keep fortify, is that OK with you? |
map_data is used in several tests, and that requires fortify. |
@tdhock: Of course! It's your package—if it's okay with you, it's okay with me. 🙂 I am curious why Thanks for solving the problem so quickly and cleanly. I experimented with only removing Thanks also for the note on |
hi @rsbivand I am unable to reproduce the checking examples failure you reported in your uploaded 00check.log file, see below, am I checking correctly?
Anyway I got that grouped_data error by running the following script, and I fixed in it #95 by re-saving that data set as a plain data.frame (not grouped_data tibble). library(animint2)
library(dplyr)
ggplot(economics, aes(date, unemploy)) + geom_line()
ggplot(economics_long, aes(date, value01, colour = variable)) +
geom_line() this was with > packageVersion("sp")
[1] ‘1.6.0’
> packageVersion("sf")
[1] ‘1.0.12’ |
I now find this too, for Your branch
but I'm sure you have them under control. There do not seem to be any status 2 problems remaining, also when the retiring packages are not on the library path. |
Note to self: Data Visualization: A Practical Introduction has a section on |
You will be aware, for example from:
https://r-spatial.org/r/2022/04/12/evolution.html,
https://r-spatial.org/r/2022/12/14/evolution2.html,
https://r-spatial.org/r/2023/04/10/evolution3.html and
https://rsbivand.github.io/csds_jan23/bivand_csds_ssg_230117.pdf and
perhaps view https://www.youtube.com/watch?v=TlpjIqTPMCA&list=PLzREt6r1NenmWEidssmLm-VO_YmAh4pq9&index=1
that
rgdal
,rgeos
andmaptools
will be retired thisyear, in October 2023.
maptools
is suggested, and in R/fortify-spatial.rmaptools::unionSpatialPolygons
is used in line 33. Probably this needs revisiting anyway, but https://github.com/r-spatial/evolution/blob/main/pkgapi_230305_refs.csv suggestssf::st_union
as an equivalent. The example also usesmaptools
to read a file, heresf::st_read()
would match. It would be helpful to fix this best by June, latest October 2023.The text was updated successfully, but these errors were encountered: