tests/testthat/test_version_info.R

test_that("version_info is returning something meaningful", {
  test_string <- version_info()
  expect_true(grepl("helseatlas", test_string))
  expect_true(grepl("data", test_string))
  expect_true(grepl("kart", test_string))
  expect_true(grepl("SKDEr", test_string))
})
Helseatlas/helseatlas documentation built on June 9, 2020, 5:48 p.m.