Skip to content

roperators

1.4.0

Additional Operators to Help You Write Cleaner R Code

3packages depend
9.6Kdownloads / year
66.0%test coverage
13/13checks pass

Overview

About
Maintained by Ben WisemanFirst published 2018-08-245 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.26
66.0%
Coverage · measured lines
73%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-06-08
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 435 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

9.6K
CRAN downloads in the past year
Rank #4,528 · ~26/day · ~803/mo
Daily download trend is not available in this view yet.
60330 days
2K90 days
9.6K1 year
Compare downloads with other packages →
Also on108 r2u26 autocran25 c2d4u

Repository

Repository
5Stars
1Forks
0Open issues
0Open PRs
1Releases
29Commits
3Contributors
29 commits · Last activity 2026-06-03 · 0% stars, 30d

Stars over time

2023-07-24 · 42026-07-07 · 5

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/benwiseman/roperators on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.0.0
Imports (2)
statstools
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Maintainer, Author, ccp
Authors (3)
Maintainer, Author, ccp
Author, led
Author, ccp
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.4.0Latest
    2026-06-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.14
    2023-07-20 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.0
    2022-02-10 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.0
    2018-09-28 · diff ↗
  • 1.0.1
    2018-08-24
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-08-24
Total releases
5 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.0.0
Download size
102 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →