Skip to content

Commit

Permalink
(geography/R-rnaturalearth) updated 0.1.0 to 1.0.1
Browse files Browse the repository at this point in the history
# rnaturalearth 1.0.1

# rnaturalearth 1.0.0

## Breaking changes

This is a breaking changes release that ends support to `sp` object in
favour of more modern interfaces (`sf` and `terra`). Although that
`sp` is still available on CRAN, it is no longer being actively
developed (https://geocompx.org/post/2023/rgdal-retirement/). This is
the main reason that motivated the choice to transition toward `sf`
(the default) and `terra`.

Users can choose either get an `sf` or `SpatVector` using the
`returnclass` argument:

```
ne_countries(returnclass = "sf")
ne_countries(returnclass = "sv")
```

Affected functions are `ne_countries()`, `ne_coastline()`,
`ne_states()`, `ne_load()` and `ne_download()`.

If changing the return type to `sf` creates too many problems to your
existing code, you can still convert it back to `sp` :

```
countries <- ne_countries(returnclass = "sf")

# option 1
sf::as_Spatial(countries)


# option 2
as(countries, "Spatial")
```

More information about the retirement of `rgdal`, `rgeos` and
`maptools`: https://r-spatial.org/r/2022/04/12/evolution.html

## Bugfix

- Correctly downloading and reading raster object (#96, closes #52).

# rnaturalearth 0.3.4

- This is a maintenance release that document/use the new special sentinel "\_PACKAGE".

# rnaturalearth 0.3.3

- Using `lifecycle` to indicate that support of `sp` object will be
  eventually dropped. Users should now use `ne_download(returnclass =
  "sf")`, instead of `ne_download(returnclass = "sp")`.

- `terra` is now included in the Imports section.

# rnaturalearth 0.3.2

- Added new maintainer and contributors ([#62](ropensci/rnaturalearth#62)).
- Using terra over raster ([#63](ropensci/rnaturalearth#63))

  - See
    <https://r-spatial.org/r/2022/04/12/evolution.html#packages-depending-on-sp-and-raster>
    and
    <https://r-spatial.org/r/2022/12/14/evolution2.html#deprecations-in-retiring-packages>

- Fixes broken data download links.  Now using Amazon hosted URLs as
  - the primary source for downloading data
  - ([#48](ropensci/rnaturalearth#48),
  - [#64](ropensci/rnaturalearth#64)).

# rnaturalearth 0.3.0 2021-10-11

- fix rnaturalearthhires installation #47 thank you Ian Taylor for #43

# rnaturalearth 0.2.0

- add to river options in ne_download() by adding to
  data_list_physical.csv fixing
  [#23](ropensci/rnaturalearth#23)

- update data to new version [Natural Earth
  v4.1](https://www.naturalearthdata.com/blog/miscellaneous/natural-earth-v4-1-0-release-notes/)
  released May 2018.
  • Loading branch information
mef committed Nov 28, 2024
1 parent b3344d2 commit 70abef3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
20 changes: 18 additions & 2 deletions geography/R-rnaturalearth/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
# $NetBSD: Makefile,v 1.1 2020/08/09 15:31:52 brook Exp $
# $NetBSD: Makefile,v 1.2 2024/11/28 13:49:29 mef Exp $

R_PKGNAME= rnaturalearth
R_PKGVER= 0.1.0
R_PKGVER= 1.0.1
CATEGORIES= geography

MAINTAINER= [email protected]
COMMENT= World Map Data from Natural Earth
LICENSE= mit

DEPENDS+= R-jsonlite-[0-9]*:../../textproc/R-jsonlite
DEPENDS+= R-httr-[0-9]*:../../www/R-httr
DEPENDS+= R-sf>=0.3.4:../../geography/R-sf
DEPENDS+= R-terra-[0-9]*:../../geography/R-terra

# Packages suggested but not available: 'ggrepel', 'pbapply', 'tmap'
TEST_DEPENDS+= R-devtools-[0-9]*:../../devel/R-devtools
TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr
TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
TEST_DEPENDS+= R-lifecycle-[0-9]*:../../devel/R-lifecycle
TEST_DEPENDS+= R-purrr-[0-9]*:../../devel/R-purrr
TEST_DEPENDS+= R-rlang-[0-9]*:../../devel/R-rlang
TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
TEST_DEPENDS+= R-rnaturalearthdata-[0-9]*:../../geography/R-rnaturalearthdata
TEST_DEPENDS+= R-rnaturalearthhires-[0-9]*:../../geography/R-rnaturalearthhires
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat

USE_LANGUAGES= # none

Expand Down
8 changes: 4 additions & 4 deletions geography/R-rnaturalearth/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2021/10/26 10:45:06 nia Exp $
$NetBSD: distinfo,v 1.4 2024/11/28 13:49:29 mef Exp $

BLAKE2s (R/rnaturalearth_0.1.0.tar.gz) = 6c5a857b487716050cf223a4aaea42d3da10f518c5efde73df029aa654b678ad
SHA512 (R/rnaturalearth_0.1.0.tar.gz) = 1adf0111ea6c53df39d7b2b33406fce5dfd5de8bfca66b544f8bf78e45090435623657f287b1fa952b1640f0ddbc6f77d5f6ef9f500a59e545eca2362ba78caa
Size (R/rnaturalearth_0.1.0.tar.gz) = 193162 bytes
BLAKE2s (R/rnaturalearth_1.0.1.tar.gz) = 312d4210ec9cd0073047c9615117468dcf500d1e110bcefdded4aa71613bae63
SHA512 (R/rnaturalearth_1.0.1.tar.gz) = 896198493afe42bde56a27fd4b1e597595241bfd01048e87a6c78cd6923dcf68bda7f43945adc9944e4dcdb107cc32d0a1a815fdbff72afe76f9098d3fbf8c49
Size (R/rnaturalearth_1.0.1.tar.gz) = 2650779 bytes

0 comments on commit 70abef3

Please sign in to comment.