walkerke / crsuggest

Get appropriate CRS suggestions for your spatial data in R
Other
126 stars 7 forks source link

maptools/rgdal/rgeos retirement #11

Open mpjashby opened 1 year ago

mpjashby commented 1 year ago

crsuggest version 0.4 now produces the following message:

crsuggest::suggest_crs(sf::st_sfc(sf::st_point(c(0, 0)), crs = "EPSG:4326"))
#> The legacy packages maptools, rgdal, and rgeos, underpinning this package
#> will retire shortly. Please refer to R-spatial evolution reports on
#> https://r-spatial.org/r/2023/05/15/evolution4.html for details.
#> This package is now running under evolution status 0
#> # A tibble: 10 × 6
#>    crs_code crs_name                crs_type  crs_gcs crs_units crs_proj4       
#>    <chr>    <chr>                   <chr>       <dbl> <chr>     <chr>           
#>  1 32731    WGS 84 / UTM zone 31S   projected    4326 m         +proj=utm +zone…
#>  2 32730    WGS 84 / UTM zone 30S   projected    4326 m         +proj=utm +zone…
#>  3 32531    WGS 72BE / UTM zone 31S projected    4324 m         +proj=utm +zone…
#>  4 32530    WGS 72BE / UTM zone 30S projected    4324 m         +proj=utm +zone…
#>  5 32331    WGS 72 / UTM zone 31S   projected    4322 m         +proj=utm +zone…
#>  6 32330    WGS 72 / UTM zone 30S   projected    4322 m         +proj=utm +zone…
#>  7 32631    WGS 84 / UTM zone 31N   projected    4326 m         +proj=utm +zone…
#>  8 32630    WGS 84 / UTM zone 30N   projected    4326 m         +proj=utm +zone…
#>  9 32431    WGS 72BE / UTM zone 31N projected    4324 m         +proj=utm +zone…
#> 10 32430    WGS 72BE / UTM zone 30N projected    4324 m         +proj=utm +zone…

Created on 2023-06-11 with reprex v2.0.2

Session info ``` r sessioninfo::session_info() #> ─ Session info ─────────────────────────────────────────────────────────────── #> setting value #> version R version 4.3.0 (2023-04-21) #> os macOS Ventura 13.3 #> system aarch64, darwin20 #> ui X11 #> language (EN) #> collate en_US.UTF-8 #> ctype en_US.UTF-8 #> tz Europe/London #> date 2023-06-11 #> pandoc 3.1.1 @ /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/ (via rmarkdown) #> #> ─ Packages ─────────────────────────────────────────────────────────────────── #> package * version date (UTC) lib source #> base64enc 0.1-3 2015-07-28 [1] CRAN (R 4.3.0) #> class 7.3-22 2023-05-03 [1] CRAN (R 4.3.0) #> classInt 0.4-9 2023-02-28 [1] CRAN (R 4.3.0) #> cli 3.6.1 2023-03-23 [1] CRAN (R 4.3.0) #> codetools 0.2-19 2023-02-01 [1] CRAN (R 4.3.0) #> colorspace 2.1-0 2023-01-23 [1] CRAN (R 4.3.0) #> crosstalk 1.2.0 2021-11-04 [1] CRAN (R 4.3.0) #> crsuggest 0.4 2022-07-06 [1] CRAN (R 4.3.0) #> DBI 1.1.3 2022-06-18 [1] CRAN (R 4.3.0) #> digest 0.6.31 2022-12-11 [1] CRAN (R 4.3.0) #> dplyr 1.1.2 2023-04-20 [1] CRAN (R 4.3.0) #> e1071 1.7-13 2023-02-01 [1] CRAN (R 4.3.0) #> evaluate 0.21 2023-05-05 [1] CRAN (R 4.3.0) #> fansi 1.0.4 2023-01-22 [1] CRAN (R 4.3.0) #> fastmap 1.1.1 2023-02-24 [1] CRAN (R 4.3.0) #> fs 1.6.2 2023-04-25 [1] CRAN (R 4.3.0) #> generics 0.1.3 2022-07-05 [1] CRAN (R 4.3.0) #> glue 1.6.2 2022-02-24 [1] CRAN (R 4.3.0) #> htmltools 0.5.5 2023-03-23 [1] CRAN (R 4.3.0) #> htmlwidgets 1.6.2 2023-03-17 [1] CRAN (R 4.3.0) #> KernSmooth 2.23-21 2023-05-03 [1] CRAN (R 4.3.0) #> knitr 1.43 2023-05-25 [1] CRAN (R 4.3.0) #> lattice 0.21-8 2023-04-05 [1] CRAN (R 4.3.0) #> leafem 0.2.0 2022-04-16 [1] CRAN (R 4.3.0) #> leaflet 2.1.2 2023-03-10 [1] CRAN (R 4.3.0) #> lifecycle 1.0.3 2022-10-07 [1] CRAN (R 4.3.0) #> magrittr 2.0.3 2022-03-30 [1] CRAN (R 4.3.0) #> mapview 2.11.0 2022-04-16 [1] CRAN (R 4.3.0) #> munsell 0.5.0 2018-06-12 [1] CRAN (R 4.3.0) #> pillar 1.9.0 2023-03-22 [1] CRAN (R 4.3.0) #> pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.3.0) #> png 0.1-8 2022-11-29 [1] CRAN (R 4.3.0) #> proxy 0.4-27 2022-06-09 [1] CRAN (R 4.3.0) #> purrr 1.0.1 2023-01-10 [1] CRAN (R 4.3.0) #> R6 2.5.1 2021-08-19 [1] CRAN (R 4.3.0) #> raster 3.6-20 2023-03-06 [1] CRAN (R 4.3.0) #> Rcpp 1.0.10 2023-01-22 [1] CRAN (R 4.3.0) #> reprex 2.0.2 2022-08-17 [1] CRAN (R 4.3.0) #> rlang 1.1.1 2023-04-28 [1] CRAN (R 4.3.0) #> rmarkdown 2.22 2023-06-01 [1] CRAN (R 4.3.0) #> rstudioapi 0.14 2022-08-22 [1] CRAN (R 4.3.0) #> satellite 1.0.4 2021-10-12 [1] CRAN (R 4.3.0) #> scales 1.2.1 2022-08-20 [1] CRAN (R 4.3.0) #> sessioninfo 1.2.2 2021-12-06 [1] CRAN (R 4.3.0) #> sf 1.0-13 2023-05-24 [1] CRAN (R 4.3.0) #> sp 1.6-1 2023-05-31 [1] CRAN (R 4.3.0) #> terra 1.7-29 2023-04-22 [1] CRAN (R 4.3.0) #> tibble 3.2.1 2023-03-20 [1] CRAN (R 4.3.0) #> tidyselect 1.2.0 2022-10-10 [1] CRAN (R 4.3.0) #> units 0.8-2 2023-04-27 [1] CRAN (R 4.3.0) #> utf8 1.2.3 2023-01-31 [1] CRAN (R 4.3.0) #> vctrs 0.6.2 2023-04-19 [1] CRAN (R 4.3.0) #> webshot 0.5.4 2022-09-26 [1] CRAN (R 4.3.0) #> withr 2.5.0 2022-03-03 [1] CRAN (R 4.3.0) #> xfun 0.39 2023-04-20 [1] CRAN (R 4.3.0) #> yaml 2.3.7 2023-01-23 [1] CRAN (R 4.3.0) #> #> [1] /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library #> #> ────────────────────────────────────────────────────────────────────────────── ```

I'm sure this is an issue you're already aware of, but I couldn't see an open or closed issue that related to it.

(Edited to include session info in reprex, since I suspect this is an problem in one of the dependencies.)

walkerke commented 1 year ago

Appreciate that! I think that's coming through from the mapview dependency: https://github.com/r-spatial/mapview/issues/446