From beaab9ba36dfdd95e6e41af09fb5adf5c0a8fabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Wed, 4 Sep 2024 07:04:47 +0200 Subject: [PATCH] docs: fix braces Thanks @adamhsparks --- R/layers.R | 16 ++++++++-------- man/emodnet_get_layers.Rd | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/R/layers.R b/R/layers.R index 05c8d41..3adb5e4 100644 --- a/R/layers.R +++ b/R/layers.R @@ -14,17 +14,17 @@ #' Extended Common Query Language (ECQL) filtering statements #' (). #' Should be one of: -#' \itemize{ -#' \item{character string or character vector of length 1. -#' Filter will be recycled across all layers requested} -#' \item{character vector of length equal to the length of layers. +#' +#' - character string or character vector of length 1. +#' Filter will be recycled across all layers requested. +#' - character vector of length equal to the length of layers. #' Filter will be matched to layers sequentially. -#' Elements containing `NA` are ignored} -#' \item{named character vector. Each filter will be applied to the layer +#' Elements containing `NA` are ignored +#' - named character vector. Each filter will be applied to the layer #' corresponding to the filter name. #' Filters with names that do not correspond to any layers are ignored. -#' Layers without corresponding filters are returned whole } -#' } +#' Layers without corresponding filters are returned whole. +#' #' @param reduce_layers whether to reduce output layers to a single `sf` object. # nolint start: line_length_linter #' @param ... additional vendor parameter arguments passed to diff --git a/man/emodnet_get_layers.Rd b/man/emodnet_get_layers.Rd index 255e292..f7841ce 100644 --- a/man/emodnet_get_layers.Rd +++ b/man/emodnet_get_layers.Rd @@ -37,15 +37,15 @@ Extended Common Query Language (ECQL) filtering statements (\url{https://docs.geoserver.org/stable/en/user/filter/ecql_reference.html}). Should be one of: \itemize{ -\item{character string or character vector of length 1. -Filter will be recycled across all layers requested} -\item{character vector of length equal to the length of layers. +\item character string or character vector of length 1. +Filter will be recycled across all layers requested. +\item character vector of length equal to the length of layers. Filter will be matched to layers sequentially. -Elements containing \code{NA} are ignored} -\item{named character vector. Each filter will be applied to the layer +Elements containing \code{NA} are ignored +\item named character vector. Each filter will be applied to the layer corresponding to the filter name. Filters with names that do not correspond to any layers are ignored. -Layers without corresponding filters are returned whole } +Layers without corresponding filters are returned whole. }} \item{reduce_layers}{whether to reduce output layers to a single \code{sf} object.}