tests/testthat/test-tt_master_file.R

test_that(
  "`tt_master_file()` updates the masterfile reference",
  {
    local_gh_get_sha_in_folder()
    local_gh_get_csv_data_type()
    ttmf <- tt_master_file()
    expect_true(is.data.frame(TT_MASTER_ENV$TT_MASTER_FILE))
    expect_true(nrow(TT_MASTER_ENV$TT_MASTER_FILE) > 0)
  }
)

Try the tidytuesdayR package in your browser

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

tidytuesdayR documentation built on Sept. 14, 2024, 9:08 a.m.