tests/testthat/test-tar_meta_download.R

tar_test("tar_meta_download() works on a local pipeline", {
  skip_cran()
  tar_script(tar_target(x, 1))
  expect_null(tar_meta_download())
  tar_make(callr_function = NULL)
  expect_null(tar_meta_download())
})

Try the targets package in your browser

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

targets documentation built on Oct. 3, 2024, 1:11 a.m.