Skip to content
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

Legacy packages maptools, rgdal, and rgeos support and switching to sf package? #32

Open
wkumler opened this issue Aug 11, 2023 · 1 comment

Comments

@wkumler
Copy link

wkumler commented Aug 11, 2023

Hi all, neat package here. Upon updating to a newer version of R I've started getting warnings upon load about a few packages that this depends on retiring in October. Is this going to affect the package functionality?

> library(marmap)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
     (status 2 uses the sf package in place of rgdal)
Registered S3 methods overwritten by 'adehabitatMA':
  method                       from
  print.SpatialPixelsDataFrame sp  
  print.SpatialPixels          sp  

Attaching package: ‘marmap’

The following object is masked from ‘package:grDevices’:

    as.raster
> sessionInfo()
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default


locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: America/Los_Angeles
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] marmap_1.0.10

loaded via a namespace (and not attached):
 [1] bit_4.0.5           Matrix_1.5-4.1      gtable_0.3.3        dplyr_1.1.2         compiler_4.3.1     
 [6] tidyselect_1.2.0    Rcpp_1.0.11         blob_1.2.4          stringr_1.5.0       scales_1.2.1       
[11] fastmap_1.1.1       lattice_0.21-8      ggplot2_3.4.2       R6_2.5.1            plyr_1.8.8         
[16] generics_0.1.3      igraph_1.5.0        shape_1.4.6         tibble_3.2.1        munsell_0.5.0      
[21] DBI_1.1.3           pillar_1.9.0        rlang_1.1.1         utf8_1.2.3          sp_2.0-0           
[26] cachem_1.0.8        stringi_1.7.12      terra_1.7-39        bit64_4.0.5         memoise_2.0.1      
[31] RSQLite_2.3.1       adehabitatMA_0.3.16 cli_3.6.1           magrittr_2.0.3      grid_4.3.1         
[36] ncdf4_1.21          rstudioapi_0.15.0   lifecycle_1.0.3     vctrs_0.6.3         gdistance_1.6.4    
[41] glue_1.6.2          raster_3.6-23       codetools_0.2-19    fansi_1.0.4         colorspace_2.1-0   
[46] reshape2_1.4.4      tools_4.3.1         pkgconfig_2.0.3 
@besibo
Copy link
Collaborator

besibo commented Aug 11, 2023

Hi, only a few functions should be affected. We'll do our best to update the package before any meaningful functionality is impacted. Feel free to get back to us if you see weird/unexpected behaviour in the next few months! ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants