{
  "_id": "6a2029d1cd65a98ecbd0a52a",
  "Package": "roperators",
  "Title": "Additional Operators to Help You Write Cleaner R Code",
  "Version": "1.4.0",
  "Authors@R": "c(person(\"Ben\", \"Wiseman\",\nrole  = c(\"cre\", \"aut\", \"ccp\"),\nemail = \"benjamin.h.wiseman@gmail.com\"),\nperson(\"Steven\", \"Nydick\",\nrole    = c(\"aut\", \"ccp\"),\nemail   = \"steven.nydick@kornferry.com\",\ncomment = c(ORCID = \"0000-0002-2908-1188\")),\nperson(\"Jeff\", \"Jones\",\nrole  = c(\"aut\", \"led\"),\nemail = \"jeff.jones@kornferry.com\"))",
  "Description": "A set of additional operators and helper functions to make\nR code easier to read, write, and maintain. Includes string\narithmetic (such as 'foo' + 'bar'), in-place reassignment\noperators (such as x += 1), logical operators that handle\nmissing values, floating-point and strict ('JavaScript'-style)\nequality tests, 'between' operators, and 'SQL'-style pattern\nmatching. Also provides convenience helpers for type\nconversion, operating-system checks, complete-cases statistics,\nand string manipulation, such as Oxford-comma pasting and\nextracting the first, last, n-th, or most common element of a\nvector or word in a string. The goal is to give R users,\nparticularly those coming from other languages such as\n'Python', a friendlier and more consistent syntax.",
  "License": "MIT + file LICENSE",
  "Copyright": "Korn Ferry International",
  "URL": "https://benwiseman.github.io/roperators/,\nhttps://github.com/BenWiseman/roperators",
  "BugReports": "https://github.com/BenWiseman/roperators/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Collate": "'complete_cases.R' 'content_checks.R' 'file_checks.R'\n'ip_checks.R' 'type_checks.R' 'operators.R' 'os_checks.R'\n'paste_functions.R' 'shorthand.R' 'sugar.R' 'utils.R'",
  "NeedsCompilation": "no",
  "Repository": "https://benwiseman.r-universe.dev",
  "Date/Publication": "2026-06-03 08:57:45 UTC",
  "RemoteUrl": "https://github.com/benwiseman/roperators",
  "RemoteRef": "HEAD",
  "RemoteSha": "c926a7e8480518ce9c9f5bb8865247f291da234a",
  "Packaged": {
    "Date": "2026-06-03 13:16:20 UTC",
    "User": "root"
  },
  "Author": "Ben Wiseman [cre, aut, ccp],\nSteven Nydick [aut, ccp] (ORCID:\n<https://orcid.org/0000-0002-2908-1188>),\nJeff Jones [aut, led]",
  "Maintainer": "Ben Wiseman <benjamin.h.wiseman@gmail.com>",
  "MD5sum": "34cd2b8c3ac939b6781e384f9f60a222",
  "_user": "benwiseman",
  "_type": "src",
  "_file": "roperators_1.4.0.tar.gz",
  "_fileid": "a2e8dbc2351235fcf2adb9ef8b1baf84ce63022574cc2c6b117543eecda65556",
  "_filesize": 238339,
  "_sha256": "a2e8dbc2351235fcf2adb9ef8b1baf84ce63022574cc2c6b117543eecda65556",
  "_created": "2026-06-03T13:16:20.000Z",
  "_published": "2026-06-03T13:19:13.659Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79303014326,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7385693044"
    },
    {
      "job": 79303014067,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385695606"
    },
    {
      "job": 79303014104,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7385690782"
    },
    {
      "job": 79303014234,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385680513"
    },
    {
      "job": 79302479692,
      "time": 160,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385641996"
    },
    {
      "job": 79303014101,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385688615"
    },
    {
      "job": 79303014235,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7385682348"
    },
    {
      "job": 79303014338,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7385688725"
    },
    {
      "job": 79303014303,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385678628"
    }
  ],
  "_buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/benwiseman/roperators",
  "_commit": {
    "id": "c926a7e8480518ce9c9f5bb8865247f291da234a",
    "author": "Ben Wiseman <BenWiseman@users.noreply.github.com>",
    "committer": "Ben Wiseman <BenWiseman@users.noreply.github.com>",
    "message": "Lead the Taste Test hero with the f-string pair\n",
    "time": 1780477065
  },
  "_maintainer": {
    "name": "Ben Wiseman",
    "email": "benjamin.h.wiseman@gmail.com",
    "login": "benwiseman",
    "description": "",
    "uuid": 11344964
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "prettydoc",
      "role": "Suggests"
    },
    {
      "package": "rvest",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "benwiseman",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-23",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v1.4.0",
      "date": "2026-06-03"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "benwiseman",
      "count": 19,
      "uuid": 11344964
    },
    {
      "user": "benwisemankfi",
      "count": 2,
      "uuid": 141389007
    }
  ],
  "_userbio": {
    "uuid": 11344964,
    "type": "user",
    "name": "Ben Wiseman"
  },
  "_downloads": {
    "count": 488,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/roperators"
  },
  "_devurl": "https://github.com/benwiseman/roperators",
  "_pkgdown": "https://benwiseman.github.io/roperators/",
  "_searchresults": 52,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/roperators.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/benwiseman/roperators",
  "_realowner": "benwiseman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2018-08-24"
    },
    {
      "version": "1.1.0",
      "date": "2018-09-28"
    },
    {
      "version": "1.2.0",
      "date": "2022-02-10"
    },
    {
      "version": "1.3.14",
      "date": "2023-07-20"
    },
    {
      "version": "1.4.0",
      "date": "2026-06-03"
    }
  ],
  "_exports": [
    "%-%",
    "%-=%",
    "%*=%",
    "%/=%",
    "%/0%",
    "%^=%",
    "%+-%",
    "%+%",
    "%+=%",
    "%<=%",
    "%<~%",
    "%==%",
    "%===%",
    "%><%",
    "%>=%",
    "%>=<%",
    "%>~%",
    "%~%",
    "%~=%",
    "%aon%",
    "%C%",
    "%else%",
    "%integrate%",
    "%log=%",
    "%na<-%",
    "%ni%",
    "%P%",
    "%perl%",
    "%regex<-%",
    "%regex=%",
    "%rlike%",
    "%root=%",
    "%s*%",
    "%s/%",
    "%xor%",
    "all_cc",
    "all_good_for_calcs",
    "any_bad_for_calcs",
    "any_cc",
    "as.class",
    "as.percent",
    "bool",
    "cat0",
    "catN",
    "check_ext_against",
    "chr",
    "colMeans_cc",
    "colSums_cc",
    "cor_cc",
    "cov_cc",
    "dbl",
    "f",
    "f.as.numeric",
    "get_1st",
    "get_1st_word",
    "get_last",
    "get_last_word",
    "get_latest_CRAN_version",
    "get_most_frequent",
    "get_most_frequent_word",
    "get_nth",
    "get_nth_word",
    "get_os",
    "get_R_version",
    "get_R_version_age",
    "get_system_python",
    "int",
    "IQR_cc",
    "is_csv_file",
    "is_excel_file",
    "is_r_file",
    "is_rda_file",
    "is_rdata_file",
    "is_rds_file",
    "is_spss_file",
    "is_txt_file",
    "is.atomic_nan",
    "is.bad_and_equal",
    "is.bad_for_calcs",
    "is.bad_for_indexing",
    "is.binary",
    "is.character_or_null",
    "is.constant",
    "is.df_or_null",
    "is.good_for_calcs",
    "is.good_for_indexing",
    "is.http_available",
    "is.irregular_list",
    "is.list_or_null",
    "is.logical_or_null",
    "is.null_or_na",
    "is.numeric_or_null",
    "is.os_arm",
    "is.os_lnx",
    "is.os_mac",
    "is.os_unx",
    "is.os_win",
    "is.os_x64",
    "is.R_revo",
    "is.R_x64",
    "is.RStudio",
    "is.scalar",
    "is.scalar_or_null",
    "length_cc",
    "library.force",
    "mad_cc",
    "max_cc",
    "mean_cc",
    "median_cc",
    "min_cc",
    "n_unique",
    "num",
    "paste_",
    "paste_oxford",
    "paste_series",
    "prod_cc",
    "quantile_cc",
    "range_cc",
    "read.psv",
    "read.tsv",
    "require.force",
    "rowMeans_cc",
    "rowSums_cc",
    "sd_cc",
    "seq_around",
    "sum_cc",
    "var_cc",
    "weighted.mean_cc"
  ],
  "_help": [
    {
      "page": "fuzzy_match",
      "title": "Fuzzy (case- and whitespace-insensitive) string equality",
      "topics": [
        "%~%"
      ]
    },
    {
      "page": "inline_fallback",
      "title": "Inline fallback for expressions that might error",
      "topics": [
        "%else%"
      ]
    },
    {
      "page": "overwrite_missing",
      "title": "Assign a value to a vector's missing values",
      "topics": [
        "%na<-%"
      ]
    },
    {
      "page": "assign_by_regex",
      "title": "Assign to a vector only where a regular expression matches",
      "topics": [
        "%regex<-%"
      ]
    },
    {
      "page": "overwrite_by_regex",
      "title": "Modify an object in place by regular expression",
      "topics": [
        "%regex=%"
      ]
    },
    {
      "page": "arithmetic_sugar",
      "title": "Arithmetic convenience operators",
      "topics": [
        "%+-%",
        "%/0%",
        "arithmetic_sugar"
      ]
    },
    {
      "page": "as.percent",
      "title": "Format a proportion as a percentage string",
      "topics": [
        "as.percent"
      ]
    },
    {
      "page": "assign_ops",
      "title": "Assignment (in-place modifier) operators",
      "topics": [
        "%*=%",
        "%+=%",
        "%-=%",
        "%/=%",
        "%log=%",
        "%root=%",
        "%^=%",
        "assign_ops"
      ]
    },
    {
      "page": "choose_permute",
      "title": "Choose and permute operators",
      "topics": [
        "%C%",
        "%P%",
        "choose_permute"
      ]
    },
    {
      "page": "cleaner_conversions",
      "title": "Cleaner type-conversion functions",
      "topics": [
        "as.class",
        "bool",
        "chr",
        "dbl",
        "int",
        "num"
      ]
    },
    {
      "page": "comparisons",
      "title": "Comparison operators with better missing-value handling",
      "concept": [
        "comparisons"
      ],
      "topics": [
        "%<=%",
        "%==%",
        "%===%",
        "%><%",
        "%>=%",
        "%>=<%",
        "comparisons"
      ]
    },
    {
      "page": "complete_cases",
      "title": "Statistics/Summaries with (Only) Missing Data Removed",
      "topics": [
        "all_cc",
        "any_cc",
        "colMeans_cc",
        "colSums_cc",
        "complete_cases",
        "cor_cc",
        "cov_cc",
        "IQR_cc",
        "length_cc",
        "mad_cc",
        "max_cc",
        "mean_cc",
        "median_cc",
        "min_cc",
        "n_unique_cc",
        "prod_cc",
        "quantile_cc",
        "range_cc",
        "rowMeans_cc",
        "rowSums_cc",
        "sd_cc",
        "sum_cc",
        "var_cc",
        "weighted.mean_cc"
      ]
    },
    {
      "page": "content_checks",
      "title": "Vector content checks",
      "topics": [
        "content_checks",
        "is.binary",
        "is.constant"
      ]
    },
    {
      "page": "f",
      "title": "String interpolation (f-strings for R)",
      "topics": [
        "f"
      ]
    },
    {
      "page": "factor_conversion",
      "title": "Convert a factor with numeric labels into a numeric vector",
      "topics": [
        "f.as.numeric"
      ]
    },
    {
      "page": "file_checks",
      "title": "File Extension Checks",
      "topics": [
        "check_ext_against",
        "file_checks",
        "is_csv_file",
        "is_excel_file",
        "is_rdata_file",
        "is_rda_file",
        "is_rds_file",
        "is_r_file",
        "is_spss_file",
        "is_txt_file"
      ]
    },
    {
      "page": "floating_point_comparisons",
      "title": "Floating-point comparison operators",
      "concept": [
        "comparisons"
      ],
      "topics": [
        "%<~%",
        "%>~%",
        "%~=%",
        "floating_point_comparisons"
      ]
    },
    {
      "page": "time_savers",
      "title": "Get the first, last, n-th, or most frequent element or word",
      "topics": [
        "get_1st",
        "get_1st_word",
        "get_last",
        "get_last_word",
        "get_most_frequent",
        "get_most_frequent_word",
        "get_nth",
        "get_nth_word"
      ]
    },
    {
      "page": "integrate",
      "title": "Inline integration operator",
      "topics": [
        "%integrate%",
        "integrate"
      ]
    },
    {
      "page": "library.force",
      "title": "Load a package, installing it first if necessary",
      "topics": [
        "library.force",
        "require.force"
      ]
    },
    {
      "page": "logicals",
      "title": "Logical operators",
      "topics": [
        "%aon%",
        "%ni%",
        "%xor%",
        "logicals"
      ]
    },
    {
      "page": "n_unique",
      "title": "Count the number of unique values",
      "topics": [
        "n_unique"
      ]
    },
    {
      "page": "os",
      "title": "Operating system and environment checks",
      "topics": [
        "get_latest_CRAN_version",
        "get_os",
        "get_R_version",
        "get_R_version_age",
        "get_system_python",
        "is.http_available",
        "is.os_arm",
        "is.os_lnx",
        "is.os_mac",
        "is.os_unx",
        "is.os_win",
        "is.os_x64",
        "is.RStudio",
        "is.R_revo",
        "is.R_x64",
        "os"
      ]
    },
    {
      "page": "paste_and_cat",
      "title": "Paste and cat helpers",
      "topics": [
        "cat0",
        "catN",
        "paste_",
        "paste_and_cat",
        "paste_oxford",
        "paste_series"
      ]
    },
    {
      "page": "pattern_matching",
      "title": "SQL-style pattern-matching operators",
      "topics": [
        "%perl%",
        "%rlike%",
        "pattern_matching"
      ]
    },
    {
      "page": "read.tsv",
      "title": "Read tab- or pipe-separated files",
      "topics": [
        "read.psv",
        "read.tsv"
      ]
    },
    {
      "page": "seq_around",
      "title": "Sequence of evenly spaced points around an origin",
      "topics": [
        "seq_around"
      ]
    },
    {
      "page": "string_arithmetic",
      "title": "String arithmetic operators",
      "topics": [
        "%+%",
        "%-%",
        "%s*%",
        "%s/%",
        "string_arithmetic"
      ]
    },
    {
      "page": "type_checks",
      "title": "Type checks",
      "topics": [
        "all_good_for_calcs",
        "any_bad_for_calcs",
        "is.atomic_nan",
        "is.bad_and_equal",
        "is.bad_for_calcs",
        "is.bad_for_indexing",
        "is.character_or_null",
        "is.df_or_null",
        "is.good_for_calcs",
        "is.good_for_indexing",
        "is.irregular_list",
        "is.list_or_null",
        "is.logical_or_null",
        "is.null_or_na",
        "is.numeric_or_null",
        "is.scalar",
        "is.scalar_or_null",
        "type_checks"
      ]
    }
  ],
  "_readme": "https://github.com/benwiseman/roperators/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "nicer_roperators.Rmd",
      "filename": "nicer_roperators.html",
      "title": "roperators: a gentle tour",
      "engine": "knitr::rmarkdown",
      "headings": [
        "String arithmetic",
        "In-place modifiers (à la +=)",
        "Filling in missing values and regex matches",
        "Comparisons that behave",
        "When NA == NA ought to be TRUE",
        "When 0.1 + 0.1 + 0.1 ought to equal 0.3",
        "Between, and strict equality",
        "Logical and SQL-style operators",
        "✨ New in 1.4",
        "Shorter type conversions",
        "Gentle checks",
        "A drawer of everyday helpers",
        "Cheat sheet",
        "A gentle word on names"
      ],
      "created": "2022-02-10 02:53:50",
      "modified": "2026-06-03 07:06:38",
      "commits": 3
    }
  ],
  "_score": 6.068185861746161,
  "_indexed": true,
  "_nocasepkg": "roperators",
  "_universes": [
    "benwiseman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-03T13:18:26.000Z",
      "distro": "noble",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "4894610d2cb46b391022b537e4475eb9b1b55f90efee5f4242f6dd315f4fdb65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-03T13:18:34.000Z",
      "distro": "noble",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "3a62f63ac8197aaae430f14baed236b4f9a590485078d763d77692644140f69a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-03T13:18:20.000Z",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "962b7cc0a4a7c56d442e964912cdc8f915f15b3932f0aec867554ace909e5b7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-03T13:17:56.000Z",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "0ebf1521f02f7c2953f6a9bbfb3d1d314dec995a4d9b94a4c0d8a4ad0f8568d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-06-03T13:18:27.000Z",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "8961f1b8de1855d608f0f54e564e99e88c4dabbcbf2c8bb7a151d14b5510db52",
      "status": "success",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-03T13:17:49.000Z",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "7f039adf67fed7b2bc92158cbacd7df4a48a3a57e2b83b8227381f2cfa35fe30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-03T13:18:06.000Z",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "54f3abe825519098ecf4bb2147c93fe008c3c89e763c6b50ffe207891c8dd4b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-03T13:17:44.000Z",
      "commit": "c926a7e8480518ce9c9f5bb8865247f291da234a",
      "fileid": "aa0acc60605ea70d06da0767ee7c5eb33d7e4ddd4c283d4042795700377ec725",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benwiseman/actions/runs/26887118651"
    }
  ]
}