#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @usage lhs \%>\% rhs
NULL
`%||%` <- function(x, y) {
if (is.null(x))
y
else
x
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.