R/utils-pipe.R

#' Pipe operator
#'
#' See `magrittr::pipe()` for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @usage lhs \%>\% rhs
#' @param lhs A value or the magrittr placeholder.
#' @param rhs A function call using the magrittr semantics.
#' @return The result of calling `rhs(lhs)`.
NULL
# Created with usethis::use_pipe(export = TRUE)
# `@importFrom dplyr %>%` is defined at camtrapdp-package, so
# `@importFrom magrittr %>%` is not necessary here.
inbo/camtrapdp documentation built on Dec. 20, 2024, 3:31 a.m.