inst/tinytest/test_status.R

if(demo_server){
  options(valh.server = valh.server)
  status <- vl_status(verbose = FALSE)
  expect_equal(length(status), 3)
  expect_equal(names(status), c("version", "tileset_last_modified", "available_actions"))
  status_v <- vl_status(verbose = TRUE)
  expect_true(length(status_v) >= 3)
}

Try the valh package in your browser

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

valh documentation built on April 11, 2025, 6:14 p.m.