diff --git a/R/download_etopo.R b/R/download_etopo.R index 11e61ed2..395c60c1 100644 --- a/R/download_etopo.R +++ b/R/download_etopo.R @@ -5,7 +5,7 @@ #' #' @param path character. Path where to download the data to. If left NULL, the data #' will be downloaded from the directory returned by [get_data_path()], and automatically -#' named "etopo2022_{resolution}s_v1.nc" +#' named `etopo2022_{resolution}s_v1.nc` #' @param resolution numeric resolution in arcsecs (one of 30, or 60). #' Defaults to 60 arcsecs. #' @returns a dataframe produced by [curl::multi_download()] with information about diff --git a/R/load_etopo.R b/R/load_etopo.R index 5792bb55..c85180fb 100644 --- a/R/load_etopo.R +++ b/R/load_etopo.R @@ -4,7 +4,7 @@ #' 30 or 60 arcsec resolution. To save the variables in a compatible #' format, use [download_etopo()]. #' -#' The function assumes that the file name is *etopo2022_{resolution}s_v1.nc* +#' The function assumes that the file name is `etopo2022_{resolution}s_v1.nc` #' #' @param path character. Path where the dataset is stored. If left NULL, the data #' will be downloaded from the directory returned by [get_data_path()] diff --git a/man/download_etopo.Rd b/man/download_etopo.Rd index 102f7b5c..6e706b17 100644 --- a/man/download_etopo.Rd +++ b/man/download_etopo.Rd @@ -9,7 +9,7 @@ download_etopo(path = NULL, resolution = 60) \arguments{ \item{path}{character. Path where to download the data to. If left NULL, the data will be downloaded from the directory returned by \code{\link[=get_data_path]{get_data_path()}}, and automatically -named "etopo2022_{resolution}s_v1.nc"} +named \verb{etopo2022_\{resolution\}s_v1.nc}} \item{resolution}{numeric resolution in arcsecs (one of 30, or 60). Defaults to 60 arcsecs.} diff --git a/man/load_etopo.Rd b/man/load_etopo.Rd index 695df225..0f89291d 100644 --- a/man/load_etopo.Rd +++ b/man/load_etopo.Rd @@ -25,6 +25,6 @@ This function loads previously downloaded ETOPO 2022 global relief dataset, at format, use \code{\link[=download_etopo]{download_etopo()}}. } \details{ -The function assumes that the file name is \emph{etopo2022_{resolution}s_v1.nc} +The function assumes that the file name is \verb{etopo2022_\{resolution\}s_v1.nc} } \keyword{internal}