Skip to content

easyr

Helpful Functions from Oliver Wyman Actuarial Consulting

v0.5-11 · Mar 9, 2023 · GPL (>= 2)

Description

Makes difficult operations easy. Includes these types of functions: shorthand, type conversion, data wrangling, and work flow. Also includes some helpful data objects: NA strings, U.S. state list, color blind charting colors. Built and shared by Oliver Wyman Actuarial Consulting. Accepting proposed contributions through GitHub.

Downloads

331

Last 30 days

11746th

1K

Last 90 days

4.4K

Last year

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

CRAN Check Status

2 ERROR
2 NOTE
10 OK
Show all 14 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 NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 ERROR
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 details (4 non-OK)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘rprojroot’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘rprojroot’
  All declared Imports should be used.
ERROR r-devel-macos-arm64

tests

Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(easyr)
  > 
  > test_check("easyr")
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Saving _problems/test_cache-30.R
  easyr::ecopy does not wo
...[truncated]...
ny.R:136:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_cache.R:30:9'): works as expected ──────────────────────────────
  Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so':
    dlopen(/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so, 0x0006): Symbol not found: _SET_CLOENV
    Referenced from: <AA665871-E63C-349E-A381-34F936D898C9> /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/qs/libs/qs.so
    Expected in:     <7D8EC208-B127-3C2C-AA52-D176E9D2B2D9> /Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libR.dylib
  Backtrace:
      ▆
   1. ├─easyr::save.cache(iris) at test_cache.R:30:9
   2. └─base::loadNamespace(x)
   3.   └─base::library.dynam(lib, package, package.lib)
   4.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 305 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(easyr)
  > 
  > test_check("easyr")
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Saving _problems/test_cache-30.R
  Reading as XML/HTML 
  Rea
...[truncated]...
blematic values include: [ 5'10 ] 
   [ FAIL 1 | WARN 0 | SKIP 2 | PASS 305 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • empty test (2): 'test_ecopy.R:1:1', 'test_read.any.R:136:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_cache.R:30:9'): works as expected ──────────────────────────────
  Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.6/qs/libs/x64/qs.dll':
    LoadLibrary failure:  Die angegebene Prozedur wurde nicht gefunden.
  
  Backtrace:
      ▆
   1. ├─easyr::save.cache(iris) at test_cache.R:30:9
   2. └─base::loadNamespace(x)
   3.   └─base::library.dynam(lib, package, package.lib)
   4.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
   5.       └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 305 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘rprojroot’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘rprojroot’
  All declared Imports should be used.
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test
...[truncated]...
ib, package, package.lib)
   4.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
   5.       └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 305 ]
  Error:
  ! Test failures.
  Execution halted

Dependency Network

Dependencies Reverse dependencies data.table digest dplyr foreign glue Hmisc lubridate readxl rlang rprojroot stringr XML easyr

Version History

new 0.5-11 Mar 10, 2026
updated 0.5-11 ← 0.5-10 diff Mar 8, 2023
updated 0.5-10 ← 0.5-9 diff Oct 26, 2022
updated 0.5-9 ← 0.5-8 diff Jun 24, 2022
updated 0.5-8 ← 0.5-4 diff Jan 10, 2022
updated 0.5-4 ← 0.5-3 diff Jun 1, 2021
updated 0.5-3 ← 0.5-2 diff Mar 26, 2021
updated 0.5-2 ← 0.5-0 diff Oct 12, 2020
updated 0.5-0 ← 0.4-0 diff Aug 9, 2020
updated 0.4-0 ← 0.3-1 diff Jun 1, 2020
updated 0.3-1 ← 0.2-0 diff Mar 19, 2020
updated 0.2-0 ← 0.1-1 diff Jan 30, 2020
updated 0.1-1 ← 0.1-0 diff Nov 26, 2019
new 0.1-0 Nov 12, 2019