tests/testthat/test-tt_curate_data.R

test_that("tt_curate_data returns the path to the curation script", {
  rlang::local_interactive(FALSE)
  test_result <- tt_curate_data()
  expect_equal(
    test_result,
    system.file("templates", "tt_curation.R", package = "tidytuesdayR")
  )
})
thebioengineer/tidytuesdayR documentation built on June 13, 2025, 4:55 p.m.