R/create_test_treelog.R

Defines functions create_test_treelog

Documented in create_test_treelog

#' Create a \code{treelog} object to be used in testing
#' @inheritParams create_treelog
#' @return a \code{treelog} object
#' @examples
#' create_test_treelog()
#' @author Richèl J.C. Bilderbeek
#' @export
create_test_treelog <- function(
  filename = create_temp_treelog_filename(),
  log_every = 1000,
  mode = "tree",
  sanitise_headers = FALSE,
  sort = "none"
) {
  create_treelog(
    filename = filename,
    log_every = log_every,
    mode = mode,
    sanitise_headers = sanitise_headers,
    sort = sort
  )
}

Try the beautier package in your browser

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

beautier documentation built on Nov. 2, 2023, 5:08 p.m.