diff --git a/R/df-spatial.R b/R/df-spatial.R index b8508cc..4d17528 100644 --- a/R/df-spatial.R +++ b/R/df-spatial.R @@ -9,10 +9,12 @@ #' @export #' #' @examples +#' \donttest{ #' load_longlake_data(which = c("longlake_osm", "longlake_depthdf")) #' df_spatial(longlake_osm) #' df_spatial(longlake_depthdf) #' df_spatial(as(longlake_depthdf, "Spatial")) +#' } #' df_spatial <- function(x, ...) { UseMethod("df_spatial") diff --git a/man/df_spatial.Rd b/man/df_spatial.Rd index 95c9356..959e6ca 100644 --- a/man/df_spatial.Rd +++ b/man/df_spatial.Rd @@ -19,9 +19,11 @@ features as \code{feature_id}, and parts as \code{part_id}. Create a ggplot-friendly data frame from a spatial object } \examples{ +\donttest{ load_longlake_data(which = c("longlake_osm", "longlake_depthdf")) df_spatial(longlake_osm) df_spatial(longlake_depthdf) df_spatial(as(longlake_depthdf, "Spatial")) +} }