Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(WRI)
  > 
  > test_check("WRI")
  Saving _problems/test-den2Q_dq-16.R
  Saving _problems/test-wass_regress-30.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-den2Q_dq.R:16:9'): function den2Q_dq works for standard normal distribution ──
  Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so':
    dlopen(/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so, 0x0006): Symbol not found: _IS_GROWABLE
    Referenced from: <A2E3C2EA-FFF1-35E6-9621-C23F120F8433> /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so
    Expected in:     <0A9590E7-21FF-3C2D-B0BD-160A5BF4B716> /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libR.dylib
  Backtrace:
       ▆
    1. ├─WRI::den2Q_qd(densityCurves, dSup, t_vec) at test-den2Q_dq.R:16:9
    2. │ └─base::sapply(...)
    3. │   └─base::lapply(X = X, FUN = FUN, ...)
    4. │     └─WRI (local) FUN(X[[i]], ...)
    5. └─base::loadNamespace(x)
    6.   ├─base::namespaceImportFrom(...)
    7.   │ └─base::asNamespace(ns)
    8.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    9.     ├─base::namespaceImportFrom(...)
   10.     │ └─base::asNamespace(ns)
   11.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.       └─base::library.dynam(lib, package, package.lib)
   13.         └─base::dyn.load(file, DLLpath = DLLpath, ...)
  ── Error ('test-wass_regress.R:30:9'): function wass_regress works for a trivial example ──
  Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so':
    dlopen(/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so, 0x0006): Symbol not found: _IS_GROWABLE
    Referenced from: <A2E3C2EA-FFF1-35E6-9621-C23F120F8433> /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/data.table/libs/data_table.so
    Expected in:     <0A9590E7-21FF-3C2D-B0BD-160A5BF4B716> /Library/Frameworks/R.framework/Versions/4.6-x86_64/Resources/lib/libR.dylib
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(wass_R2(res), 0.974, tolerance = 0.01) at test-wass_regress.R:30:9
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─WRI::wass_R2(res)
    5. │ └─base::sapply(...)
    6. │   └─base::lapply(X = X, FUN = FUN, ...)
    7. │     └─WRI (local) FUN(X[[i]], ...)
    8. └─base::loadNamespace(x)
    9.   ├─base::namespaceImportFrom(...)
   10.   │ └─base::asNamespace(ns)
   11.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     ├─base::namespaceImportFrom(...)
   13.     │ └─base::asNamespace(ns)
   14.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15.       └─base::library.dynam(lib, package, package.lib)
   16.         └─base::dyn.load(file, DLLpath = DLLpath, ...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
  Error:
  ! Test failures.
  Execution halted