Skip to content

Simple convenience RStudio add-in inserting assignment operators and pipes

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

konradzdeb/extraInserts

Repository files navigation

extraInserts

R-CMD-check

Description

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.

Available operators

For every operator listed below an RStudio add-in is registered, allowing RStudio users to assign a custom shortcut to it or to invoke it from the command palette.

Operator Description

->

Rightwards form of the common assignment operator

%in%

Syntactic-sugar version of match

%>%

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

Installation

if (!requireNamespace("remotes", quietly = TRUE)) {
    install.packages("remotes")
}
remotes::install_github('konradzdeb/extraInserts')

About

Simple convenience RStudio add-in inserting assignment operators and pipes

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages