R/print_beast2_options.R

Defines functions print_beast2_options

Documented in print_beast2_options

#' Pretty-print a `beast2_options`
#' @inheritParams default_params_doc
#' @return Nothing. Will display the `beast2_options` using \link{cat}.
#' @examples
#' check_empty_beaustier_folders()
#'
#' print_beast2_options(create_beast2_options())
#'
#' check_empty_beaustier_folders()
#' @author Richèl J.C. Bilderbeek
#' @export
print_beast2_options <- function(beast2_options) {
  check_beast2_options(beast2_options)
  df <- beast2_options_to_table(beast2_options)
  cat(knitr::kable(df), sep = "\n")
}

Try the beastier package in your browser

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

beastier documentation built on Nov. 7, 2023, 5:08 p.m.