tests/testthat/test-corporateCardExpenses.R

# run the full test only in my personal machine

# full test
if (Sys.getenv('USERNAME') == 'igorl') {
df <- corporateCardExpenses()

  # tests

  test_that("able to download the full database", {
    expect_gt(nrow(df), 113340)
  })
}

Try the dail package in your browser

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

dail documentation built on March 31, 2023, 10:29 p.m.