Skip to content

Commit

Permalink
fixing package namespace (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
PMassicotte committed Aug 19, 2023
1 parent 710a34c commit 7191a22
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 36 deletions.
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export(ne_find_vector_data)
export(ne_load)
export(ne_states)
import(httr)
import(sf)
import(sp)
import(utils)
importFrom(jsonlite,fromJSON)
importFrom(sf,as_Spatial)
importFrom(utils,read.csv)
29 changes: 10 additions & 19 deletions R/rnaturalearth-package.R
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
#' rnaturalearth : world map data from Natural Earth
#'
#' Facilitates world mapping by making
#' \href{https://www.naturalearthdata.com/}{Natural Earth} map data more easily
#' available to R users.
#'
#' @name rnaturalearth

#' @docType package

#' @seealso \code{\link{ne_countries}} \code{\link{ne_states}}
#' \code{\link{ne_download}}

#' @import sp utils sf
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @import sp
#' @importFrom sf as_Spatial
#' @importFrom utils read.csv
#' @import httr
#' @importFrom jsonlite fromJSON
## usethis namespace: end
NULL

# Hide variables from R CMD check
if (getRversion() >= "2.15.1") {
utils::globalVariables(c("countries110"))
}
33 changes: 33 additions & 0 deletions man/rnaturalearth-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions man/rnaturalearth.Rd

This file was deleted.

0 comments on commit 7191a22

Please sign in to comment.