From 25f40916e7d95ab7104117b54542cf2f5f89168a Mon Sep 17 00:00:00 2001 From: bocinsky Date: Tue, 10 Dec 2024 13:23:33 -0700 Subject: [PATCH] dontrun --- R/DAYMET_FUNCTIONS.R | 2 +- R/GHCN_FUNCTIONS.R | 2 +- R/ITRDB_FUNCTIONS.R | 2 +- R/NASS_FUNCTIONS.R | 2 +- R/NED_FUNCTIONS.R | 2 +- R/NHD_FUNCTIONS.R | 4 ++-- R/NLCD_FUNCTIONS.R | 4 ++-- R/PADUS_FUNCTIONS.R | 2 +- R/SSURGO_FUNCTIONS.R | 2 +- codemeta.json | 2 +- cran-comments.md | 8 +------- man/agol_filter.Rd | 4 ++-- man/get_daymet.Rd | 2 +- man/get_ghcn_daily.Rd | 2 +- man/get_itrdb.Rd | 2 +- man/get_nass_cdl.Rd | 2 +- man/get_ned.Rd | 2 +- man/get_nhd.Rd | 2 +- man/get_nlcd.Rd | 2 +- man/get_nlcd_annual.Rd | 2 +- man/get_padus.Rd | 2 +- man/get_ssurgo.Rd | 2 +- man/plot_nhd.Rd | 2 +- 23 files changed, 26 insertions(+), 32 deletions(-) diff --git a/R/DAYMET_FUNCTIONS.R b/R/DAYMET_FUNCTIONS.R index d9b596c..1099ee6 100644 --- a/R/DAYMET_FUNCTIONS.R +++ b/R/DAYMET_FUNCTIONS.R @@ -34,7 +34,7 @@ #' @importFrom magrittr %>% %$% %<>% %T>% #' @export #' @examples -#' \donttest{ +#' \dontrun{ #' library(terra) #' #' # Get the DAYMET (North America only) diff --git a/R/GHCN_FUNCTIONS.R b/R/GHCN_FUNCTIONS.R index d3a85b5..e55fccb 100644 --- a/R/GHCN_FUNCTIONS.R +++ b/R/GHCN_FUNCTIONS.R @@ -165,7 +165,7 @@ #' @importFrom readr read_fwf #' @importFrom magrittr %>% #' @examples -#' \donttest{ +#' \dontrun{ #' # Get the daily GHCN data (GLOBAL) #' # Returns a list: the first element is the spatial locations of stations, #' # and the second is a list of the stations and their daily data diff --git a/R/ITRDB_FUNCTIONS.R b/R/ITRDB_FUNCTIONS.R index e285197..90e6367 100644 --- a/R/ITRDB_FUNCTIONS.R +++ b/R/ITRDB_FUNCTIONS.R @@ -51,7 +51,7 @@ #' @export #' @importFrom sf st_as_sf st_transform st_intersection #' @examples -#' \donttest{ +#' \dontrun{ #' # Get the ITRDB records #' ITRDB <- get_itrdb( #' template = FedData::meve, diff --git a/R/NASS_FUNCTIONS.R b/R/NASS_FUNCTIONS.R index 1ab19c2..eb59de9 100644 --- a/R/NASS_FUNCTIONS.R +++ b/R/NASS_FUNCTIONS.R @@ -18,7 +18,7 @@ #' @export #' @importFrom magrittr %>% #' @examples -#' \donttest{ +#' \dontrun{ #' # Extract data for the Mesa Verde National Park: #' #' # Get the NASS CDL (USA ONLY) diff --git a/R/NED_FUNCTIONS.R b/R/NED_FUNCTIONS.R index 3d199fc..a824f52 100644 --- a/R/NED_FUNCTIONS.R +++ b/R/NED_FUNCTIONS.R @@ -16,7 +16,7 @@ #' @export #' @importFrom magrittr %>% #' @examples -#' \donttest{ +#' \dontrun{ #' # Get the NED (USA ONLY) #' # Returns a `SpatRaster` #' NED <- diff --git a/R/NHD_FUNCTIONS.R b/R/NHD_FUNCTIONS.R index 5a9086e..cb112d9 100644 --- a/R/NHD_FUNCTIONS.R +++ b/R/NHD_FUNCTIONS.R @@ -13,7 +13,7 @@ #' @importFrom magrittr %>% %<>% #' @export #' @examples -#' \donttest{ +#' \dontrun{ #' # Get the NHD (USA ONLY) #' NHD <- get_nhd( #' template = FedData::meve, @@ -142,7 +142,7 @@ get_nhd <- #' @importFrom magrittr %>% %<>% #' @export #' @examples -#' \donttest{ +#' \dontrun{ #' # Get the NHD (USA ONLY) #' NHD <- get_nhd( #' template = FedData::meve, diff --git a/R/NLCD_FUNCTIONS.R b/R/NLCD_FUNCTIONS.R index 9a20e81..86c80dc 100644 --- a/R/NLCD_FUNCTIONS.R +++ b/R/NLCD_FUNCTIONS.R @@ -26,7 +26,7 @@ #' @export #' @importFrom magrittr %>% %<>% #' @examples -#' \donttest{ +#' \dontrun{ #' # Extract data for the Mesa Verde National Park: #' #' # Get the NLCD (USA ONLY) @@ -258,7 +258,7 @@ get_nlcd <- function(template, #' @export #' @importFrom magrittr %>% %<>% #' @examples -#' \donttest{ +#' \dontrun{ #' # Extract data for the Mesa Verde National Park: #' #' # Get the NLCD (USA ONLY) diff --git a/R/PADUS_FUNCTIONS.R b/R/PADUS_FUNCTIONS.R index 23fb0d6..e98b1d0 100644 --- a/R/PADUS_FUNCTIONS.R +++ b/R/PADUS_FUNCTIONS.R @@ -36,7 +36,7 @@ #' @importFrom magrittr %>% %<>% #' @export #' @examples -#' \donttest{ +#' \dontrun{ #' # Get the PAD-US (USA ONLY) #' PADUS <- get_padus( #' template = FedData::meve, diff --git a/R/SSURGO_FUNCTIONS.R b/R/SSURGO_FUNCTIONS.R index c72c68d..593903a 100644 --- a/R/SSURGO_FUNCTIONS.R +++ b/R/SSURGO_FUNCTIONS.R @@ -23,7 +23,7 @@ #' @export #' @importFrom readr read_csv write_csv #' @examples -#' \donttest{ +#' \dontrun{ #' # Get the NRCS SSURGO data (USA ONLY) #' SSURGO.MEVE <- #' get_ssurgo( diff --git a/codemeta.json b/codemeta.json index d7370b4..32bd73c 100644 --- a/codemeta.json +++ b/codemeta.json @@ -403,7 +403,7 @@ }, "SystemRequirements": "GDAL (>= 3.1.0)" }, - "fileSize": "1512.089KB", + "fileSize": "1512.069KB", "releaseNotes": "https://github.com/ropensci/FedData/blob/master/NEWS.md", "readme": "https://github.com/ropensci/FedData/blob/main/README.md", "contIntegration": ["https://github.com/ropensci/FedData/actions/workflows/check-standard.yaml", "https://app.codecov.io/gh/ropensci/FedData?branch=master"], diff --git a/cran-comments.md b/cran-comments.md index e137302..cb65913 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -55,13 +55,7 @@ see NEWS.md for release details. **Test environment:** Windows Server 2022 x64 (build 20348), R-devel, 64 bit -**0 errors ✔ \| 0 warnings ✔ \| 1 note ✖** - -- CRAN repository db overrides: - - X-CRAN-Comment: Archived on 2024-08-19 as requires archived package - 'arcgislayers'. -- Explanation: This is a resubmission and update; -'arcgislayers' is back on CRAN. +**0 errors ✔ \| 0 warnings ✔ \| 0 notes ✖** ------------------------------------------------------------------------ diff --git a/man/agol_filter.Rd b/man/agol_filter.Rd index eb97eca..0141de9 100644 --- a/man/agol_filter.Rd +++ b/man/agol_filter.Rd @@ -64,10 +64,10 @@ agol_filter( "NonNetworkNHDFlowline", "NHDLine", "NHDArea", - "NHDWaterbody"), + "NHDWaterbody" + ), geom = FedData::meve ) - } } diff --git a/man/get_daymet.Rd b/man/get_daymet.Rd index 0eea972..d205259 100644 --- a/man/get_daymet.Rd +++ b/man/get_daymet.Rd @@ -63,7 +63,7 @@ A named list of \code{SpatRaster}s of weather data cropped to the extent of the template study area. } \examples{ -\donttest{ +\dontrun{ library(terra) # Get the DAYMET (North America only) diff --git a/man/get_ghcn_daily.Rd b/man/get_ghcn_daily.Rd index 070865a..e2f3556 100644 --- a/man/get_ghcn_daily.Rd +++ b/man/get_ghcn_daily.Rd @@ -187,7 +187,7 @@ The name of each list item is the station ID. } } \examples{ -\donttest{ +\dontrun{ # Get the daily GHCN data (GLOBAL) # Returns a list: the first element is the spatial locations of stations, # and the second is a list of the stations and their daily data diff --git a/man/get_itrdb.Rd b/man/get_itrdb.Rd index 5da270c..5328a71 100644 --- a/man/get_itrdb.Rd +++ b/man/get_itrdb.Rd @@ -82,7 +82,7 @@ and names of extracted ITRDB chronologies, } } \examples{ -\donttest{ +\dontrun{ # Get the ITRDB records ITRDB <- get_itrdb( template = FedData::meve, diff --git a/man/get_nass_cdl.Rd b/man/get_nass_cdl.Rd index 22706fd..5b54116 100644 --- a/man/get_nass_cdl.Rd +++ b/man/get_nass_cdl.Rd @@ -51,7 +51,7 @@ A \code{\link[terra:SpatRaster-class]{SpatRaster}} cropped to the bounding box o template study area. } \examples{ -\donttest{ +\dontrun{ # Extract data for the Mesa Verde National Park: # Get the NASS CDL (USA ONLY) diff --git a/man/get_ned.Rd b/man/get_ned.Rd index 2c4036f..81017ac 100644 --- a/man/get_ned.Rd +++ b/man/get_ned.Rd @@ -37,7 +37,7 @@ A \code{SpatRaster} DEM cropped to the extent of the template. template study area. } \examples{ -\donttest{ +\dontrun{ # Get the NED (USA ONLY) # Returns a `SpatRaster` NED <- diff --git a/man/get_nhd.Rd b/man/get_nhd.Rd index 2817e84..e1c0599 100644 --- a/man/get_nhd.Rd +++ b/man/get_nhd.Rd @@ -32,7 +32,7 @@ A list of \code{sf} collections extracted from the National Hydrography Dataset. from the National Hydrography Dataset. } \examples{ -\donttest{ +\dontrun{ # Get the NHD (USA ONLY) NHD <- get_nhd( template = FedData::meve, diff --git a/man/get_nlcd.Rd b/man/get_nlcd.Rd index ac6bf73..aed6265 100644 --- a/man/get_nlcd.Rd +++ b/man/get_nlcd.Rd @@ -57,7 +57,7 @@ legend and color palette, as available through the \href{https://www.mrlc.gov/data/legends/national-land-cover-database-class-legend-and-description}{MLRC website}. } \examples{ -\donttest{ +\dontrun{ # Extract data for the Mesa Verde National Park: # Get the NLCD (USA ONLY) diff --git a/man/get_nlcd_annual.Rd b/man/get_nlcd_annual.Rd index 97deeb3..634b931 100644 --- a/man/get_nlcd_annual.Rd +++ b/man/get_nlcd_annual.Rd @@ -63,7 +63,7 @@ More information about the Annual NLCD product is available on the \href{https://www.mrlc.gov/data/project/annual-nlcd}{Annual NLCD web page}. } \examples{ -\donttest{ +\dontrun{ # Extract data for the Mesa Verde National Park: # Get the NLCD (USA ONLY) diff --git a/man/get_padus.Rd b/man/get_padus.Rd index 1a0b2cd..08cf7fb 100644 --- a/man/get_padus.Rd +++ b/man/get_padus.Rd @@ -56,7 +56,7 @@ directly by managing agencies, coordinated through the Federal Geographic Data Committee Federal Lands Working Group. } \examples{ -\donttest{ +\dontrun{ # Get the PAD-US (USA ONLY) PADUS <- get_padus( template = FedData::meve, diff --git a/man/get_ssurgo.Rd b/man/get_ssurgo.Rd index 5320bf9..272dfbc 100644 --- a/man/get_ssurgo.Rd +++ b/man/get_ssurgo.Rd @@ -43,7 +43,7 @@ in the template, and } } \examples{ -\donttest{ +\dontrun{ # Get the NRCS SSURGO data (USA ONLY) SSURGO.MEVE <- get_ssurgo( diff --git a/man/plot_nhd.Rd b/man/plot_nhd.Rd index d2d9074..f62444c 100644 --- a/man/plot_nhd.Rd +++ b/man/plot_nhd.Rd @@ -19,7 +19,7 @@ A \code{ggplot2} panel of plots This is more of an example than anything } \examples{ -\donttest{ +\dontrun{ # Get the NHD (USA ONLY) NHD <- get_nhd( template = FedData::meve,