From eaea634d4b4d85a0d2bca16ec229abf5387873bc Mon Sep 17 00:00:00 2001 From: Jesse Cambon Date: Wed, 27 Oct 2021 23:06:57 -0400 Subject: [PATCH] suppressed progress bars in reference examples --- R/geo.R | 2 ++ R/reverse_geo.R | 2 ++ docs/reference/geo.html | 12 ++++--- docs/reference/geo_combine.html | 20 ++++++------ docs/reference/geocode_combine.html | 40 ++++++++++++------------ docs/reference/reverse_geo.html | 8 +++-- docs/reference/tidygeocoder-package.html | 6 ++-- man/geo.Rd | 2 ++ man/reverse_geo.Rd | 2 ++ 9 files changed, 53 insertions(+), 41 deletions(-) diff --git a/R/geo.R b/R/geo.R index 165f2026..3101200a 100644 --- a/R/geo.R +++ b/R/geo.R @@ -131,6 +131,8 @@ progress_geo <- function(pb = NULL, ...) { #' @return tibble (dataframe) #' @examples #' \donttest{ +#' options(tidygeocoder.progress_bar = FALSE) +#' #' geo(street = "600 Peachtree Street NE", city = "Atlanta", #' state = "Georgia", method = "census") #' diff --git a/R/reverse_geo.R b/R/reverse_geo.R index 063cbc81..0e7e1281 100644 --- a/R/reverse_geo.R +++ b/R/reverse_geo.R @@ -87,6 +87,8 @@ get_coord_parameters <- function(custom_query, method, lat, long) { #' @inherit geo return #' @examples #' \donttest{ +#' options(tidygeocoder.progress_bar = FALSE) +#' #' reverse_geo(lat = 38.895865, long = -77.0307713, method = 'osm') #' #' reverse_geo( diff --git a/docs/reference/geo.html b/docs/reference/geo.html index 6a711286..7a3d1a18 100644 --- a/docs/reference/geo.html +++ b/docs/reference/geo.html @@ -405,7 +405,7 @@

Arg (ex. list(geocodio_v = 1.6, geocodio_hipaa = TRUE)). Each parameter begins with the name of the method (service) it applies to. The possible parameters are shown below with their default values.