mathedjoe / animaltracker

Visualize and analyze GPS data for cows (and other animals).
5 stars 6 forks source link

animaltracker has strong dependence on at least one of `rgdal`, `rgeos` or `maptools` #86

Open rsbivand opened 1 year ago

rsbivand commented 1 year ago

Please attend to emails of Dec 15, 2022 and today; review https://r-spatial.org/r/2023/04/10/evolution3.html urgently. Add this repo to the DESCRIPTION file too. rgdal, rgeos or maptools will all be archived during October 2023, bringing this package down (@ttsukianto I found this repo by searching you).

mdsumner commented 1 year ago

need help, ping me - interested to explore this package 😇

rsbivand commented 1 year ago

Thanks, Mike! Any help very welcome, it would be a shame if some maintainers saw their work archived from lack of response. I'll try to copy in the recent email when I find it.

rsbivand commented 1 year ago

This was the email (April 10):

animaltracker has strong dependence on at least one of rgdal, rgeos or maptools, as I pointed out last year. 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_Y mAh4pq9&index=1 that rgdal, rgeos and maptools will be retired this year, in October 2023. No update has reached CRAN yet, not any response to my earlier email. I suggest that you take active steps to update your package, specifically migrating to terra at (or before) your earliest convenience.

Best wishes,

On Thu, 15 Dec 2022, Roger Bivand wrote:

Dear Maintainer,

animaltracker depends on (depends, imports or suggests) raster and one or more of the retiring packages rgdal, rgeos or maptools (https://r-spatial.org/r/2022/04/12/evolution.html, https://r-spatial.org/r/2022/12/14/evolution2.html). Since raster 3.6.3, all use of external FOSS library functionality has been transferred to terra, making the retiring packages very likely redundant. It would help greatly if you could remove dependencies on the retiring packages as soon as possible.

Best wishes,

mathedjoe commented 1 year ago

Thank you, Mike and Roger. This is our first time developing an R package, and I really appreciate the support and advance notice for fixing this issue. It looks like terra has everything we need, and I expect to make the code updates in May or June.

On Thu, Apr 20, 2023, 4:37 AM Roger Bivand @.***> wrote:

This was the email (April 10):

animaltracker has strong dependence on at least one of rgdal, rgeos or maptools, as I pointed out last year. 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_Y mAh4pq9&index=1 that rgdal, rgeos and maptools will be retired this year, in October 2023. No update has reached CRAN yet, not any response to my earlier email. I suggest that you take active steps to update your package, specifically migrating to terra at (or before) your earliest convenience.

Best wishes,

On Thu, 15 Dec 2022, Roger Bivand wrote:

Dear Maintainer,

animaltracker depends on (depends, imports or suggests) raster and one or more of the retiring packages rgdal, rgeos or maptools (https://r-spatial.org/r/2022/04/12/evolution.html, https://r-spatial.org/r/2022/12/14/evolution2.html). Since raster 3.6.3, all use of external FOSS library functionality has been transferred to terra, making the retiring packages very likely redundant. It would help greatly if you could remove dependencies on the retiring packages as soon as possible.

Best wishes,

— Reply to this email directly, view it on GitHub https://github.com/mathedjoe/animaltracker/issues/86#issuecomment-1516102524, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6TBG5ETXRUTIVDCEZCFKDXCEGX3ANCNFSM6AAAAAAWZDZPYY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rsbivand commented 1 year ago

Good to hear, please reach out if the going gets (too) rough.

rsbivand commented 1 year ago

We have https://r-spatial.org/r/2023/05/15/evolution4.html out now, and sp will flip to use sf in place of rgdal at version 2.0-0 due out shortly. It looks as though you could coerce output in R/data_cleaning.R line 280 to SpatVector and use terra to write the shapefile. Since you have raster imported anyway, terra is there too - maybe import it to be sure.

mathedjoe commented 1 year ago

Thanks so much for the additional resources. I've scheduled some time to port the code in late June, and I'll follow-up if I get especially stuck.

Joe

On Wed, Jun 7, 2023 at 7:46 AM Roger Bivand @.***> wrote:

We have https://r-spatial.org/r/2023/05/15/evolution4.html out now, and sp will flip to use sf in place of rgdal at version 2.0-0 due out shortly. It looks as though you could coerce output in R/data_cleaning.R line 280 to SpatVector and use terra to write the shapefile. Since you have raster imported anyway, terra is there too - maybe import it to be sure.

— Reply to this email directly, view it on GitHub https://github.com/mathedjoe/animaltracker/issues/86#issuecomment-1580858378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6TBG6VMEQ32E4UMXR6HOLXKCA25ANCNFSM6AAAAAAWZDZPYY . You are receiving this because you commented.Message ID: @.***>

rsbivand commented 1 year ago

Only three months remain before rgdal is retired.

rsbivand commented 11 months ago

@mathedjoe Less than three weeks remain to fix this.

rsbivand commented 11 months ago

@mathedjoe R spatial infrastructure packages maptools, rgdal and rgeos will be archived by CRAN on Monday, October 16, 2023. Your package does not pass CMD check when these packages are not available. Expect your package to be archived by CRAN October 17-18 as CRAN checks feed through and your package fails, if not updated by Monday, October 16, 2023.

No grace period is anticipated, as you have had sufficient time to update your package to remove dependencies on maptools, rgdal and/or rgeos. It remains the case that many packages importing the raster package needlessly depend on retiring packages, as raster stopped using them a year ago.