R/log_pipe.R

Defines functions log_pipe

Documented in log_pipe

#' @title Log pipe
#'
#' @description Simple helper for debugging between pipes
#'
#' @param x value for the pipe
#' @param ... one or more values to be logged
#'
#' @return Message for debugging
#'
#' @export
#'
#' @examples NULL
log_pipe <- function(x, ...) {
  x2 <- x
  log_debug(...)
  return(x2)
}
taxonomicallyinformedannotation/tima-r documentation built on July 17, 2024, 7:11 p.m.