Skip to content

Commit

Permalink
Merge pull request #14 from CCL-CA/ccl_sr1_data_pkg
Browse files Browse the repository at this point in the history
Fix invisible functions!
  • Loading branch information
dfilatow authored May 13, 2019
2 parents a02defd + 873fcda commit 1293988
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Generated by roxygen2: do not edit by hand

export(create_dem_products)
export(grid_values_at_sp)
export(stack_rasters)
export(wetland_map)
export(wetland_model)
2 changes: 2 additions & 0 deletions R/modelmap_processing.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#' response.target = c("Wb", "Wf", "Ws"),
#' aoi.col = "BASIN")
#' }
#' @export
wetland_model <- function(qdatafn,
model.type,
model.folder,
Expand Down Expand Up @@ -317,6 +318,7 @@ wetland_model <- function(qdatafn,
#' aoi = aoi_polys,
#' aoi.col = "BASIN")
#' }
#' @export
wetland_map <- function (model.out,
model.folder,
rastLUTfn,
Expand Down
3 changes: 3 additions & 0 deletions R/raster_stack.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#' create_dem_products(dem = "data/dem.tif", outdir = "output",
#' products = c("SLOPE", "CAREA"))
#' }
#' @export
create_dem_products <- function(dem, outdir, products = NULL) {
env <- RSAGA::rsaga.env()

Expand Down Expand Up @@ -164,6 +165,7 @@ create_dem_products <- function(dem, outdir, products = NULL) {
#' raster_stack_2 <- stack_rasters(rasters = raster_list,
#' aligned = TRUE)
#' }
#' @export
stack_rasters <- function(rasters,
aligned = FALSE,
target_raster = NULL,
Expand Down Expand Up @@ -303,6 +305,7 @@ stack_rasters <- function(rasters,
#' filename = qdatafn,
#' aoi = aoi_polys)
#' }
#' @export
grid_values_at_sp <- function(x, y,
filename = NULL,
aoi = NULL) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This function runs `ModelMap::model.mapmake` to generate raster prediction surfa
## Installation
Get the latest version from GitHub with:
```r
devtools::install_github("bcgov/wetlandmapR", dependencies = TRUE)
devtools::install_github("bcgov/wetlandmapR")
```

## Examples
Expand Down
18 changes: 14 additions & 4 deletions man/wetlandmapR.Rd

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

0 comments on commit 1293988

Please sign in to comment.