tests/testthat/test-files.R

context("files are present and sensible")


test_that("files are present", {
  expect_that(bgmfiles(), is_a("character"))
  expect_that(length(bgmfiles()), testthat::is_more_than(1L))
  expect_true(all(file.exists(bgmfiles())))
})

Try the bgmfiles package in your browser

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

bgmfiles documentation built on Nov. 5, 2025, 7:14 p.m.