The purpose of this trivial package is to offer a set of convenience functions inserting various (pipe) operators so those can be conveniently linked to keyboard shortcuts in RStudio.
This package was developed for fun and to conveniently transport frequently used functions across environments.
Operator | Description |
---|---|
-> |
Rightwards form of the common assignment operator |
%in% |
Syntactic-sugar version of match |
%<>% |
Assignment pipe operator from the magrittr package |
%$% |
Exposition pipe operator from the magrittr package |
%!>% |
Eager pipe operator from the magrittr package |
%T>% |
Tee pipe operator from the magrittr package |
%||% |
NULL default operator from the rlang package |
%|% |
NA default operator from the rlang package |
if (!requireNamespace("remotes", quietly = TRUE)) {
install.packages("remotes")
}
remotes::install_github('konradzdeb/extraInserts')