R/is_pff_beast2_options.R

Defines functions is_pff_beast2_options

Documented in is_pff_beast2_options

#' Are the BEAST2 options PFF?
#' @inheritParams default_params_doc
#' @export
is_pff_beast2_options <- function(beast2_options) {
  result <- FALSE
  tryCatch({
    peregrine::check_pff_beast2_options(beast2_options)
    result <- TRUE
  }, error = function(e) {} # nolint ignore e
  )
  result
}
richelbilderbeek/peregrine documentation built on Jan. 3, 2024, 7:42 p.m.