tests/testthat/test-tar_source_archive.R

targets::tar_test("tar_source_archive() works", {
  expect_no_error(
    tar_source_archive(
      "tarchives"
    )
  )
  expect_error(
    tar_source_archive(
      "tarchives-wrong"
    )
  )
})

Try the tarchives package in your browser

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

tarchives documentation built on June 22, 2025, 9:06 a.m.