Skip to content

Commit 496612d

Browse files
committed
docs: use @examplesIf interactive() for slow examples
Fix #51
1 parent ea9eac6 commit 496612d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Suggests:
3636
httr,
3737
markdown,
3838
knitr
39-
RoxygenNote: 7.2.3
39+
RoxygenNote: 7.3.2

R/rglobi.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,9 @@ get_interactions_in_area <- function(bbox, ...){
246246
#' @keywords database
247247
#' @export
248248
#' @family areas
249-
#' @examples \donttest{
249+
#' @examplesIf interactive()
250250
#' get_interaction_areas ()
251251
#' get_interaction_areas (bbox=c(-67.87,12.79,-57.08,23.32))
252-
#' }
253252
get_interaction_areas <- function(bbox = NULL, read_csv = read_csv_online, ...){
254253
requesturl <- read_csv (get_globi_url("/locations?type=csv", ...))
255254
names (requesturl) <- c ("Latitude", "Longitude")

man/get_interaction_areas.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)