tests/testthat/test-crew_options_cluster.R

test_that("crew_options_cluster", {
  out <- crew_options_cluster(script_directory = "x")
  expect_equal(
    out,
    structure(
      list(
        verbose = FALSE,
        command_submit = "",
        command_terminate = "",
        script_directory = "x",
        script_lines = character(0)
      ),
      class = c("crew_options_cluster", "crew_options")
    )
  )
})

Try the crew.cluster package in your browser

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

crew.cluster documentation built on April 15, 2025, 1:34 a.m.