R/utils-pipe.R

#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @param lhs A value or the magrittr forward-pipe placeholder.
#' @param rhs A function call using magrittr semantics.
#' @returns The result of evaluating the right-hand side with the left-hand
#'   side as first argument (see \code{magrittr::\link[magrittr:pipe]{\%>\%}}).
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @usage lhs \%>\% rhs
NULL

Try the misc package in your browser

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

misc documentation built on April 8, 2026, 9:10 a.m.