tests/testthat/test-OpenRange_get_license.R

test_that("OpenRange_get_license returns df", {
  
  skip_if_offline(host = "r-project.org")
  
  scenarios <- OpenRange_get_license()
  
  # test below assume a data dictionary and will be skipped if one isn't returned
  expect_s3_class(object = scenarios,
                  class = "data.frame") 
  
})

Try the OpenRange package in your browser

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

OpenRange documentation built on April 4, 2025, 2:08 a.m.