Skip to content

Commit

Permalink
CRAN release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MiKatt committed May 21, 2020
1 parent eb25a9e commit c2de37f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ cran-comments.md
^NEWS\.md$
# Release announcement
release_files
^CRAN-RELEASE$
2 changes: 2 additions & 0 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This package was submitted to CRAN on 2020-05-21.
Once it is accepted, delete this file and tag the release (commit eb25a9ef5d).
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Imports:
methods,
progress,
rgdal,
sf,
sp,
raster,
SSN
Expand Down
4 changes: 2 additions & 2 deletions R/calc_attributes_edges.R
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ calc_catchment_attributes_vect_rec <- function(dt, id, stat_vect, attr_name_vect
#'
#' @note This function is sensitive to MASKs, i.e. if a MASK is present,
#' only the part or the raster is processed within the MASK;
#' \href{https://grass.osgeo.org/grass75/manuals/r.mask.html}{r.mask}.
#' \href{https://grass.osgeo.org/grass78/manuals/r.mask.html}{r.mask}.

get_n_val_raster <- function(raster_name){
return(length(get_all_raster_values(raster_name)))
Expand All @@ -754,7 +754,7 @@ get_n_val_raster <- function(raster_name){
#'
#' @note This function is sensitive to MASKs, i.e. if a MASK is present,
#' only the part or the raster is processed within the MASK;
#' \href{https://grass.osgeo.org/grass75/manuals/r.mask.html}{r.mask}.
#' \href{https://grass.osgeo.org/grass78/manuals/r.mask.html}{r.mask}.

get_all_raster_values <- function(raster_name){
r <- execGRASS("r.stats", flags = c("l","n"),
Expand Down
2 changes: 1 addition & 1 deletion man/get_all_raster_values.Rd

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

2 changes: 1 addition & 1 deletion man/get_n_val_raster.Rd

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

0 comments on commit c2de37f

Please sign in to comment.