tests/testthat/test-clean.R

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

  try({
    out <- baf('WA') |>
      clean_bafs('WA')
  })

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

  expect_true('VTD' %in% names(out))
})

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.