R/get_beast2_options_filenames.R

Defines functions get_beast2_options_filenames

Documented in get_beast2_options_filenames

#' Extract the filenames from a `beast2_options`
#' @inheritParams default_params_doc
#' @return the filenames from a `beast2_options`
#' @author Richèl J.C. Bilderbeek
#' @examples
#' beast2_options <- create_beast2_options()
#' get_beast2_options_filenames(beast2_options)
#' @export
get_beast2_options_filenames <- function(beast2_options) {
  check_beast2_options(beast2_options)
  c(
    beast2_options$input_filename,
    beast2_options$output_state_filename
  )
}
richelbilderbeek/beastier documentation built on Sept. 7, 2024, 2:15 a.m.