R/create_temp_state_filename.R

Defines functions create_temp_state_filename

Documented in create_temp_state_filename

#' Create a temporary file for the BEAST2 XML output file that
#' stores its state.
#' @return a temporary filename, that starts with `beast2_`
#' and has extension `.xml.state`
#' @examples
#' check_empty_beaustier_folders()
#'
#' create_temp_state_filename()
#'
#' check_empty_beaustier_folders()
#' @author Richèl J.C. Bilderbeek
#' @export
create_temp_state_filename <- function() {
  get_beastier_tempfilename(
    pattern = "beast2_",
    fileext = ".xml.state"
  )
}

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.