tests/testthat/test-baf.R

test_that('baf works', {
  out <- NULL

  try({
    out <- baf('DE', 2020)
  })

  skip_if(is.null(out), message = 'data did not download.')

  expect_type(out, 'list')
  expect_length(out, 7)
})

Try the baf package in your browser

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

baf documentation built on Aug. 31, 2025, 5:08 p.m.