R/log_phase_get.R

Defines functions log_phase_get

Documented in log_phase_get

#' @title Get log phase
#' @export
#' @description Get the current log phase.
#' @return Character string with the name of the current log phase.
#' @examples
#'   path <- tempfile()
#'   log_phase_get()
#'   log_print(path = path)
#'   log_phase_set("different")
#'   log_phase_get()
#'   log_print(path = path)
#'   log_phase_reset()
#'   log_phase_get()
#'   log_read(path)
log_phase_get <- function() {
  .Call(r_log_phase_get, PACKAGE = "autometric")
}

Try the autometric package in your browser

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

autometric documentation built on April 3, 2025, 11:14 p.m.