Skip to content

Commit

Permalink
remove geodata package
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrescino committed Jun 6, 2024
1 parent 7715173 commit 879cb04
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 17 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Imports:
utils
Suggests:
knitr,
geodata,
terra,
rmarkdown,
testthat (>= 3.0.0)
Expand Down
5 changes: 1 addition & 4 deletions R/spClipPoly.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,12 @@
#' @keywords data
#' @examples
#' \dontrun{
#' # Load in USAco data from geodata package
#' USAco <- geodata::gadm(country="United States", level=2, path=tempdir())
#'
#' # Set up data from FIESTA
#' WYbhfn <- system.file("extdata", "sp_data/WYbighorn_adminbnd.shp",
#' package = "FIESTA"))
#'
#' # Clip polygon with WY Bighorn object from FIESTA
#' WYbhco <- spClipPoly(polyv = USAco,
#' WYbhco <- spClipPoly(polyv = stunitco,
#' clippolyv = WYbhfn)
#' }
#' @export spClipPoly
Expand Down
5 changes: 1 addition & 4 deletions R/spUnionPoly.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,8 @@
#' package = "FIESTA")
#' WYbh <- spImportSpatial(WYbhfn)
#'
#' # Load in USAco data from geodata package
#' USAco <- geodata::gadm(country="United States", level=2, path=tempdir())
#'
#' # Generate unioned `sf` object
#' polyUnion <- spUnionPoly(polyv1 = USAco[USAco$NAME_1 == "Wyoming",],
#' polyUnion <- spUnionPoly(polyv1 = stunitco[stunitco$STATENM == "Wyoming",],
#' polyv2 = WYbh,
#' areacalc = TRUE)
#'
Expand Down
5 changes: 1 addition & 4 deletions man/spClipPoly.Rd

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

5 changes: 1 addition & 4 deletions man/spUnionPoly.Rd

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

0 comments on commit 879cb04

Please sign in to comment.