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 Sept. 21, 2024, 1:06 a.m.