roperators: Additional Operators to Help You Write Cleaner R Code
A set of additional operators and helper functions to make R code
easier to read, write, and maintain. Includes string arithmetic (such as
'foo' + 'bar'), in-place reassignment operators (such as x += 1), logical
operators that handle missing values, floating-point and strict
('JavaScript'-style) equality tests, 'between' operators, and 'SQL'-style
pattern matching. Also provides convenience helpers for type conversion,
operating-system checks, complete-cases statistics, and string manipulation,
such as Oxford-comma pasting and extracting the first, last, n-th, or most
common element of a vector or word in a string. The goal is to give R users,
particularly those coming from other languages such as 'Python', a friendlier
and more consistent syntax.
| Version: |
1.4.0 |
| Depends: |
R (≥ 3.0.0) |
| Imports: |
stats, tools |
| Suggests: |
magrittr, knitr, markdown, rmarkdown, prettydoc, rvest, testthat (≥ 3.0.0) |
| Published: |
2026-06-03 |
| DOI: |
10.32614/CRAN.package.roperators |
| Author: |
Ben Wiseman [cre, aut, ccp],
Steven Nydick
[aut, ccp],
Jeff Jones [aut, led] |
| Maintainer: |
Ben Wiseman <benjamin.h.wiseman at gmail.com> |
| BugReports: |
https://github.com/BenWiseman/roperators/issues |
| License: |
MIT + file LICENSE |
| Copyright: |
Korn Ferry International |
| URL: |
https://benwiseman.github.io/roperators/,
https://github.com/BenWiseman/roperators |
| NeedsCompilation: |
no |
| Materials: |
README, NEWS |
| In views: |
MissingData |
| CRAN checks: |
roperators results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=roperators
to link to this page.