Skip to content

roperators

Additional Operators to Help You Write Cleaner R Code

v1.4.0 · Jun 3, 2026 · MIT + file LICENSE

Description

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.

Downloads

CRAN

929

Last 30 days

3723rd

1.9K

Last 90 days

9.6K

Last year

Trend: +90.4% (30d vs prior 30d)

r2u CRAN

6

Last 30 days

32

Last 90 days

108

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

5

Last 7 days

19

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

R code for possible problems

Fatal error: cannot create 'R_TempDir'
See section ‘Good practice’ in ‘?data’.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (3)

Dependency Network

Dependencies Reverse dependencies ExcelFunctionsR einops sentiment.ai roperators

Version History

6 tracked
updated 1.4.0 ← 1.3.14 diff Jun 3, 2026
new 1.3.14 Mar 10, 2026
updated 1.3.14 ← 1.2.0 diff Jul 19, 2023
updated 1.2.0 ← 1.1.0 diff Feb 9, 2022
updated 1.1.0 ← 1.0.1 diff Sep 27, 2018
new 1.0.1 Aug 23, 2018