Skip to content

Commit

Permalink
Fix warning if sf was not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Dec 1, 2020
1 parent d14096a commit 469d7ca
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mapSpain
Type: Package
Title: Administrative Boundaries of Spain
Version: 0.1.1
Version: 0.1.2.9000
Authors@R:
c(person(given = "Diego",
family = "Hernangómez",
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ export(esp_get_munic)
export(esp_get_nuts)
export(esp_get_prov)
export(providerEspTileOptions)
importFrom(sf,st_transform)
importFrom(utils,download.file)
7 changes: 6 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# dev

* Fix annoying warning if `sf` was not loaded first.


# mapSpain 0.1.1

* Fix CRAN submission.
* Added mapSpain::esp_get_grid_prov() and mapSpain::esp_get_grid_ccaa().
* Added `mapSpain::esp_get_grid_prov()` and `mapSpain::esp_get_grid_ccaa()`.



Expand Down
1 change: 1 addition & 0 deletions R/mapSpain-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ NULL

# import stuffs
#' @importFrom utils download.file
#' @importFrom sf st_transform
NULL
3 changes: 0 additions & 3 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ home:
deploy:
install_metadata: true

development:
version_tooltip: "Soon on CRAN"

navbar:
structure:
left: [home, intro, reference, articles, news, authors]
Expand Down
5 changes: 5 additions & 0 deletions dev/dev.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ roxygen2::roxygenise()

tinytest::test_all()

devtools::check()


a <- esp_get_ccaa()

f <- esp_get_hex_ccaa()
plot(st_geometry(f))

Expand Down

0 comments on commit 469d7ca

Please sign in to comment.