R/utils-pipe.R

#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details.
#'
#' @name %>%
#' @param lhs the value to be piped in \code{rhs}
#' @param rhs the function to be applied with first argument \code{lhs}
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @return the result of \code{rhs(lhs, ...)}
#' @usage lhs \%>\% rhs
NULL

Try the cases package in your browser

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

cases documentation built on April 3, 2025, 9:24 p.m.