From 9b86cddfbed3d3e6a07f2a1d44b4e5be9ecb4d70 Mon Sep 17 00:00:00 2001 From: geryan Date: Tue, 9 Jul 2024 15:26:38 +1000 Subject: [PATCH] The movie ran through me --- R/mask_all.R | 4 ++++ man/mask_all.Rd | 3 +++ 2 files changed, 7 insertions(+) diff --git a/R/mask_all.R b/R/mask_all.R index 9bc07c1..71759bf 100644 --- a/R/mask_all.R +++ b/R/mask_all.R @@ -2,6 +2,10 @@ #' @description Masks all `NA` cells across all layers, such that returned layers #' have matching `NA` cells. #' +#' @details +#' **Uses a ton of RAM and will break for larger rasters.** +#' +#' #' @param rasts `SpatRaster` with `nlyr(rasts)` > 1 to mask #' @param filename `character`to save output #' @param overwrite `logical` overwrite existing `filename`? diff --git a/man/mask_all.Rd b/man/mask_all.Rd index 22a1da9..4b0fd95 100644 --- a/man/mask_all.Rd +++ b/man/mask_all.Rd @@ -20,6 +20,9 @@ mask_all(rasts, filename = NULL, overwrite = FALSE) Masks all \code{NA} cells across all layers, such that returned layers have matching \code{NA} cells. } +\details{ +\strong{Uses a ton of RAM and will break for larger rasters.} +} \examples{ # Create some SpatRaster layers with non-matching NA cells