simplePipes is a small R package that implements a variety of simple pipe operators. It has less error checking than major R packages (like magrittr or dplyr) but contains more varieties -- both forward and backward versions of basic, tee, wye, exposition, compound assignment, and dot pipes -- and introduces the concept of through pipes.
This package is not currently on CRAN, but can be installed and loaded using these R commands:
install.packages("remotes")
remotes::install_github("cwendorf/simplePipes")
library(simplePipes)
If you do not wish a full install, the latest functions can be made available using these R commands:
source("http://raw.githubusercontent.com/cwendorf/simplePipes/main/source-simplePipes.R")
The Tutorials for simplePipes provide explanations and examples of:
- The Simplest Pipes: Versions of basic, tee, and wye pipes
- The Data Manipulation Pipes: Versions of exposition and compound assignment pipes
- The Functional Dot Pipes: Versions of simple dot and through pipes
- GitHub Issues: https://github.com/cwendorf/simplePipes/issues
- Author Email: cwendorf@uwsp.edu
- Author Homepage: https://cwendorf.github.io
Wendorf, C. A. (2021). simplePipes: A collection of pipe operators [R Package]. https://github.com/cwendorf/simplePipes