ropensci-archive / bomrang

:warning: ARCHIVED :warning: Australian government Bureau of Meteorology (BOM) data client for R
Other
109 stars 26 forks source link

examples should never run on CRAN #139

Closed adamhsparks closed 1 year ago

adamhsparks commented 3 years ago

CRAN apparently is now running examples that aren't supposed to be run:

https://www.stats.ox.ac.uk/pub/bdr/donttest/bomrang.out

Examples need to be used with @examplesIf or an if { (resource_available) run_example() } for all functions requiring an Internet connection.

adamhsparks commented 3 years ago

see https://github.com/ropensci/opencage/blob/8dd8dee473916c23c912a3a3008aeca4a8d1ba02/R/oc_forward.R#L92