Comments (3)
I am not able to reproduce it. From a Docker image:
> head(rnaturalearth::ne_countries(scale = "medium", returnclass = "sf"))[, 1:2]
Simple feature collection with 6 features and 2 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -70.06611 ymin: -18.01973 xmax: 74.89131 ymax: 60.40581
CRS: +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0
scalerank featurecla geometry
0 3 Admin-0 country MULTIPOLYGON (((-69.89912 1...
1 1 Admin-0 country MULTIPOLYGON (((74.89131 37...
2 1 Admin-0 country MULTIPOLYGON (((14.19082 -5...
3 1 Admin-0 country MULTIPOLYGON (((-63.00122 1...
4 1 Admin-0 country MULTIPOLYGON (((20.06396 42...
5 3 Admin-0 country MULTIPOLYGON (((20.61133 60...
> sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblasp-r0.3.3.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.10 rnaturalearth_0.1.0 magrittr_2.0.3
[4] units_0.8-1 tidyselect_1.2.0 lattice_0.20-45
[7] R6_2.5.1 rlang_1.0.6 rnaturalearthdata_0.1.0
[10] fansi_1.0.4 dplyr_1.0.10 tools_4.2.2
[13] grid_4.2.2 KernSmooth_2.23-20 utf8_1.2.2
[16] cli_3.6.0 e1071_1.7-12 DBI_1.1.3
[19] class_7.3-20 tibble_3.1.8 lifecycle_1.0.3
[22] sf_1.0-9 vctrs_0.5.1 glue_1.6.2
[25] sp_1.6-0 proxy_0.4-27 compiler_4.2.2
[28] pillar_1.8.1 generics_0.1.3 classInt_0.4-8
[31] pkgconfig_2.0.3
@John-R-Wallace-NOAA Do you still have an issue?
from rnaturalearth.
After checking for updates, I still get the same issue under R 4.0.1 under CentOS (with gdal-2.4.1) on our Linux server. I also tried it under R 4.1.X, but the R package S2 (needed by the sf package) has an issue installing, perhaps needing some updated Linux libraries. I will ask IT to install R 4.2.X and go from there.
I just now got it to work running R 4.2.2 under Ubuntu 20.04.5 (with GDAL 3.3.2) on Windows Subsystem for Linux (WSL).
from rnaturalearth.
Perfect, please let us know how it is going!
from rnaturalearth.
Related Issues (20)
- Release rnaturalearth 1.0.0
- Wrong link in About HOT 1
- Pre-compute vignettes so it does no error on CRAN if resource is not available
- Package suggested but not available for checking: ‘rnaturalearthhires’
- Update package version for rnaturalearthdata and rnaturalearthhires to 1.0.0
- Unexpected behavior of medium size country polygon download / while small & large resolution work as advertised HOT 4
- ne_countries message:maptools, rgdal, and rgeos, underpinning this package will retire shortly message HOT 4
- United States missing using geostationary satellite view projection only HOT 5
- Country polygons with longitudinal coordinates outside (-180, 180) HOT 4
- Deprecate `sp`
- Add support for `vect` of the `terra` package
- Use `pkgdown`
- Function helpers to provide users with available downloadable files
- Change to `sf`/`spatvector` in `rnaturalearthhires` and `rnaturalearthhires`
- sf MULTIPOLYGONs not mergeable across countries HOT 6
- Chatham Islands with New Zealand HOT 4
- `ne_download()` fails to read raster objects HOT 2
- `ne_download()` should not warn about `sp` for raster objects or if `load = FALSE` HOT 1
- `ne_download()` doens't return filename HOT 5
- Invalid geometry world: Loop 0 is not valid HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnaturalearth.