tests/testthat/helper.R

skip_if_no_token <- function(frame = caller_env()) {
  testthat::skip_if(identical(get_mb_access_token(), ""))
}

Try the mapboxapi package in your browser

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

mapboxapi documentation built on May 29, 2024, 6:02 a.m.