R/catChangesIf.R

Defines functions catChangesIf

Documented in catChangesIf

#' Print Differences Between Two Vectors if Condition is Met
#' 
#' @param dbg if \code{TRUE} \code{\link{catChanges}} is called on \code{x} and
#'   \code{y}
#' @param x vector
#' @param y vector
#' @export
catChangesIf <- function(dbg, x, y)
{
  if (dbg) {
    catChanges(x, y)
  }
}
KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.