Skip to contents

Create a screenlog object, to be used in testing

Usage

create_test_screenlog(
  filename = create_temp_screenlog_filename(),
  log_every = 1000,
  mode = "autodetect",
  sanitise_headers = FALSE,
  sort = "none"
)

Arguments

filename

name of the file to store the posterior screens phylogenies to. By default, this is $(screen).screens

log_every

number of MCMC states between writing to file

mode

mode how to log. Valid values are the ones returned by get_log_modes

sanitise_headers

set to TRUE to sanitise the headers of the log file

sort

how to sort the log. Valid values are the ones returned by get_log_sorts

Value

a screenlog object

Author

Richèl J.C. Bilderbeek

Examples

create_test_screenlog()
#> $filename
#> [1] "/github/home/.cache/beautier/screenlog_7e9312ca55f.csv"
#> 
#> $log_every
#> [1] 1000
#> 
#> $mode
#> [1] "autodetect"
#> 
#> $sanitise_headers
#> [1] FALSE
#> 
#> $sort
#> [1] "none"
#>