Skip to content

Commit

Permalink
Housekeeping, add grid
Browse files Browse the repository at this point in the history
  • Loading branch information
steffilazerte committed May 4, 2021
1 parent 9f2c68a commit cbf4a96
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/flow_mapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ flow_mapper <- function(file, nrow = NULL, ncol = NULL, missing_value = -9999,

# Calculate slope gradients and curvatures

db_fill$db <- slope_gc(db_fill$db)
db_fill$db <- slope_gc(db_fill$db, grid = 1)

save_backup(locs = out_locs,
data = list("db" = db_fill$db, "stats" = db_fill$stats),
Expand Down
3 changes: 1 addition & 2 deletions R/flow_slope_gc.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
#' - hill_c_cell: Same as for row.
#'
#' @param db Dataframe dem
#'
#' @inheritParams args
#' @param grid Numeric. Grid size for the original dem
#'
#' @return
#'
Expand Down
2 changes: 2 additions & 0 deletions RELEASE.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ devtools::check()

# Update website and reports
pkgdown::build_site(lazy = TRUE)
pkgdown::build_reference_index()
pkgdown::build_reference()
file.copy(from = "docs", to = "../LITAP_docs/", recursive = TRUE)
# Move site to LITAP_docs

Expand Down
2 changes: 2 additions & 0 deletions man/slope_gc.Rd

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

0 comments on commit cbf4a96

Please sign in to comment.