tests/testthat/test-tar_meta_sync.R

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

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.