tests/testthat/setup-gvs.R

# api urls

# URL for NSR API
url <- "https://gvsapi.xyz/gvs_api.php" # production
#url <- "http://vegbiendev.nceas.ucsb.edu:7775/gvs_api.php" #testing

# Bad URLs for testing

# url <- "www.google.com"
# url <- "www.hisstank.com"

library("vcr") # *Required* as vcr is set up on loading

invisible(vcr::vcr_configure(
  dir = vcr::vcr_test_path("fixtures")
))

vcr::check_cassette_names()

Try the GVS package in your browser

Any scripts or data that you put into this service are public.

GVS documentation built on April 3, 2025, 10:03 p.m.