tests/testthat/test-crew_options_local.R

crew_test("crew_options_local", {
  out <- crew_options_local(log_directory = "x", log_join = FALSE)
  expect_equal(out$log_directory, "x")
  expect_false(out$log_join)
  expect_silent(crew_options_local_validate(out))
  out$log_directory <- 123
  expect_crew_error(crew_options_local_validate(out))
})

Try the crew package in your browser

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

crew documentation built on Sept. 4, 2026, 9:07 a.m.