R/register.R

Defines functions register

Documented in register

#' Register the processing of o2meter data in the LEEF package
#'
#' @return invisibly \code{TRUE} when completed successful
#'
#' @export
#'
register <- function() {
  if (is.null(system.file(package = "LEEF.2"))) {
    stop("This function requres the package to be installed!")
  }

  LEEF.2::add_pre_processor( pre_processor_o2meter )
  LEEF.2::add_extractor( extractor_o2meter )
  ##
  invisible(TRUE)
}
LEEF-UZH/LEEF.measurement.respirometer documentation built on Feb. 11, 2025, 3:22 a.m.