Running ‘testthat.R’ [4s/5s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(offsetreg)
  > 
  > Sys.setenv("OMP_THREAD_LIMIT" = 2)
  > test_check("offsetreg")
  Saving _problems/test-poisson-22.R
  Saving _problems/test-rpart-96.R
  Saving _problems/test-xgboost-8.R
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 9 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-poisson.R:18:1'): (code run outside of `test_that()`) ──────────
  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. └─base::loadNamespace(x) at test-poisson.R:18:1
    2.   ├─base::namespaceImportFrom(...)
    3.   │ └─base::asNamespace(ns)
    4.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    5.     ├─base::namespaceImportFrom(...)
    6.     │ └─base::asNamespace(ns)
    7.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    8.       ├─base::namespaceImport(...)
    9.       └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   10.         └─base::library.dynam(lib, package, package.lib)
   11.           └─base::dyn.load(file, DLLpath = DLLpath, ...)
  ── Error ('test-rpart.R:92:1'): (code run outside of `test_that()`) ────────────
  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. └─base::loadNamespace(x) at test-rpart.R:92:1
    2.   ├─base::namespaceImportFrom(...)
    3.   │ └─base::asNamespace(ns)
    4.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    5.     ├─base::namespaceImportFrom(...)
    6.     │ └─base::asNamespace(ns)
    7.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    8.       ├─base::namespaceImport(...)
    9.       └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   10.         └─base::library.dynam(lib, package, package.lib)
   11.           └─base::dyn.load(file, DLLpath = DLLpath, ...)
  ── Error ('test-xgboost.R:5:1'): (code run outside of `test_that()`) ───────────
  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. └─base::loadNamespace(x) at test-xgboost.R:5:1
    2.   ├─base::namespaceImportFrom(...)
    3.   │ └─base::asNamespace(ns)
    4.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    5.     ├─base::namespaceImportFrom(...)
    6.     │ └─base::asNamespace(ns)
    7.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    8.       ├─base::namespaceImport(...)
    9.       └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   10.         └─base::library.dynam(lib, package, package.lib)
   11.           └─base::dyn.load(file, DLLpath = DLLpath, ...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 9 ]
  Error:
  ! Test failures.
  Execution halted