Skip to content

Commit

Permalink
more housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Sep 26, 2024
1 parent 5bed6e9 commit b8c1094
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,15 @@

export(isoband_terra)
export(isoline_terra)
importFrom(isoband,iso_to_sfg)
importFrom(isoband,isobands)
importFrom(isoband,isolines)
importFrom(sf,st_sf)
importFrom(sf,st_sfc)
importFrom(terra,as.array)
importFrom(terra,crs)
importFrom(terra,vect)
importFrom(terra,xFromCol)
importFrom(terra,yFromRow)
importFrom(utils,head)
importFrom(utils,tail)
6 changes: 6 additions & 0 deletions R/isoraster-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL
4 changes: 4 additions & 0 deletions R/isoraster.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#' for isoband_terra a table of spatial polygons with 'lo' and 'hi' contour values
#' @export
#' @aliases isoband_terra
#' @importFrom terra as.array xFromCol yFromRow vect crs
#' @importFrom sf st_sfc st_sf
#' @importFrom utils head tail
#' @importFrom isoband iso_to_sfg isolines isobands
#' @examples
#' isoline_terra(rast(volcano))
#' isoband_terra(rast(volcano), lo = 100, hi = 150)
Expand Down

0 comments on commit b8c1094

Please sign in to comment.