tests/testthat/test-tar_watch.R

# The real tests of the app are at tests/interactive/test-tar_watch.R # nolint
tar_test("cli_port()", {
  expect_message(cli_port(host = "0.0.0.0", port = "8888"))
})

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.