tests/testthat/test-tar_github_actions.R

tar_test("tar_github_actions()", {
  tmp <- tempfile()
  expect_false(file.exists(tmp))
  tar_github_actions(path = tmp)
  expect_true(file.exists(tmp))
})

Try the targets package in your browser

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

targets documentation built on Oct. 12, 2023, 5:07 p.m.