Skip to content

Commit

Permalink
added NEWS, fixed tests for release
Browse files Browse the repository at this point in the history
  • Loading branch information
16EAGLE committed Mar 3, 2024
1 parent 9880888 commit f0de379
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
***

## basemaps 0.0.6
Major improvements
Major improvements, adding new map services

**Bugs:**

Expand All @@ -12,7 +12,8 @@ Major improvements
**Changes:**

* `gg_raster` now accepts `interpolate`, a logical argument to control smoothing of the plotted raster.
* added Stadia Maps support for `osm_stamen` maps: Due to changes by Stamen, you now need a map token from stadiamaps.com (free registration) for Stamen maps.
* added Stadia Maps support for `osm_stamen` maps: Due to changes by Stamen, you now need a map token from https://stadiamaps.com (free registration) for Stamen maps.
* added Stadia Maps as new map service `osm_stadia` (requires map token from https://stadiamaps.com)

<br>

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-get_maptypes.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ skip_on_cran()
context("get_maptypes")

test_that("get_maptypes()", {
expect_named(expect_is(expect_length(get_maptypes(), 6), "list"), c("osm", "osm_stamen", "osm_thunderforest",
expect_named(expect_is(expect_length(get_maptypes(), 7), "list"), c("osm", "osm_stamen", "osm_stadia", "osm_thunderforest",
"carto", "mapbox", "esri"))
expect_is(get_maptypes("osm"), "character")
})

0 comments on commit f0de379

Please sign in to comment.