diff --git a/.Rbuildignore b/.Rbuildignore index 0ecb4c3..61952ed 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -22,3 +22,4 @@ cran-comments.md ^NEWS\.md$ # Release announcement release_files +^CRAN-RELEASE$ diff --git a/CRAN-RELEASE b/CRAN-RELEASE new file mode 100644 index 0000000..d3f6dae --- /dev/null +++ b/CRAN-RELEASE @@ -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). diff --git a/DESCRIPTION b/DESCRIPTION index 788cc6b..4f6ccd5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -24,7 +24,6 @@ Imports: methods, progress, rgdal, - sf, sp, raster, SSN diff --git a/R/calc_attributes_edges.R b/R/calc_attributes_edges.R index a96a6c2..645b2fc 100644 --- a/R/calc_attributes_edges.R +++ b/R/calc_attributes_edges.R @@ -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))) @@ -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"), diff --git a/man/get_all_raster_values.Rd b/man/get_all_raster_values.Rd index 7fcb0bf..bacdf8c 100644 --- a/man/get_all_raster_values.Rd +++ b/man/get_all_raster_values.Rd @@ -19,6 +19,6 @@ Returns the number of different values in the input raster. \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}. } \keyword{internal} diff --git a/man/get_n_val_raster.Rd b/man/get_n_val_raster.Rd index 3361c91..301ba4d 100644 --- a/man/get_n_val_raster.Rd +++ b/man/get_n_val_raster.Rd @@ -19,6 +19,6 @@ Returns the number of different values in the input raster. \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}. } \keyword{internal}