R/utils_options.R

Defines functions crew_options_validate.default crew_options_validate

crew_options_validate <- function(options) {
  UseMethod("crew_options_validate")
}

#' @export
crew_options_validate.default <- function(options) {
  crew::crew_assert(
    inherits(options, c("crew_options_cluster", "crew_options")),
    message = paste(
      "options object should come from",
      "a crew_options_*() function in {crew.cluster}."
    )
  )
}

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.