tests/testthat/test-record.R

with_mock_dir("t/record", {
  test_that("cong_record works", {
    x <- cong_record()
    expect_s3_class(x, 'tbl_df')
  })
})

Try the congress package in your browser

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

congress documentation built on May 29, 2024, 2:37 a.m.