Skip to content

Commit

Permalink
docs: safer example for emodnet_get_wfs_info()
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Nov 7, 2024
1 parent d8522cd commit 5ae594a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions R/info.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,14 @@ emodnet_get_layer_info <- memoise::memoise(.emodnet_get_layer_info)
#' @export
#' @describeIn emodnet_get_wfs_info Get info on all layers from
#' an EMODnet WFS service.
#' @examples
#' \dontrun{
#' @examplesIf interactive()
#' emodnet_get_wfs_info(service = "bathymetry")
#' # Query a wfs object
#' wfs_bio <- emodnet_init_wfs_client("biology")
#' emodnet_get_wfs_info(wfs_bio)
#' # Get info for specific layers from wfs object
#' layers <- c("mediseh_zostera_m_pnt", "mediseh_posidonia_nodata")
#' emodnet_get_layer_info(wfs = wfs_bio, layers = layers)
#' }
emodnet_get_wfs_info <- memoise::memoise(.emodnet_get_wfs_info)

#' @describeIn emodnet_get_wfs_info Get metadata on all layers and all available
Expand Down
4 changes: 2 additions & 2 deletions man/emodnet_get_wfs_info.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ae594a

Please sign in to comment.