diff --git a/NAMESPACE b/NAMESPACE index 0f0f16dd..3880ac6a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -169,6 +169,7 @@ importFrom(DBI,dbExistsTable) importFrom(DBI,dbFetch) importFrom(DBI,dbGetQuery) importFrom(DBI,dbSendQuery) +importFrom(aqp,"initSpatial<-") importFrom(aqp,SoilTextureLevels) importFrom(aqp,checkHzDepthLogic) importFrom(aqp,col2Munsell) diff --git a/R/fetchSoilGrids.R b/R/fetchSoilGrids.R index 4af334cb..75b0f822 100644 --- a/R/fetchSoilGrids.R +++ b/R/fetchSoilGrids.R @@ -62,7 +62,7 @@ #' #' @return A _SoilProfileCollection_ or _SpatRaster_ when `grid=TRUE`. Returns `try-error` if all requests fail. Any error messages resulting from parsing will be echoed when `verbose=TRUE`. #' @export fetchSoilGrids -#' +#' @importFrom aqp initSpatial<- #' @author Andrew G. Brown #' @examplesIf curl::has_internet() #' \dontrun{