* using log directory 'd:/Rcompile/CRANpkg/local/4.4/DSMolgenisArmadillo.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'DSMolgenisArmadillo/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'DSMolgenisArmadillo' version '3.0.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'dsBaseClient' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'DSMolgenisArmadillo' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [6s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [12s] ERROR Running 'testthat.R' [12s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(DSMolgenisArmadillo) Loading required package: DSI Loading required package: progress Loading required package: R6 Loading required package: MolgenisAuth > library(tibble) > > test_check("DSMolgenisArmadillo") Saving _problems/test-ArmadilloConnection-7.R Saving _problems/test-ArmadilloConnection-21.R Saving _problems/test-ArmadilloConnection-40.R Saving _problems/test-ArmadilloConnection-57.R Saving _problems/test-ArmadilloConnection-77.R Saving _problems/test-ArmadilloConnection-94.R Saving _problems/test-ArmadilloConnection-108.R Saving _problems/test-ArmadilloConnection-122.R Saving _problems/test-ArmadilloConnection-136.R Saving _problems/test-ArmadilloConnection-150.R Saving _problems/test-ArmadilloConnection-179.R Saving _problems/test-ArmadilloConnection-193.R Saving _problems/test-ArmadilloConnection-206.R Saving _problems/test-ArmadilloConnection-229.R Saving _problems/test-ArmadilloConnection-254.R Saving _problems/test-ArmadilloConnection-273.R Saving _problems/test-ArmadilloConnection-297.R Saving _problems/test-ArmadilloConnection-330.R Saving _problems/test-ArmadilloConnection-369.R Saving _problems/test-ArmadilloConnection-400.R Saving _problems/test-ArmadilloConnection-424.R Saving _problems/test-ArmadilloConnection-440.R Saving _problems/test-ArmadilloConnection-455.R Saving _problems/test-ArmadilloConnection-474.R Saving _problems/test-ArmadilloConnection-495.R Saving _problems/test-ArmadilloConnection-521.R Saving _problems/test-ArmadilloConnection-544.R Saving _problems/test-ArmadilloConnection-578.R Saving _problems/test-ArmadilloConnection-606.R Saving _problems/test-ArmadilloConnection-629.R Saving _problems/test-ArmadilloDriver-29.R Saving _problems/test-ArmadilloDriver-60.R Saving _problems/test-ArmadilloDriver-90.R Saving _problems/test-ArmadilloDriver-119.R Saving _problems/test-ArmadilloDriver-150.R Saving _problems/test-ArmadilloOAuth-14.R Saving _problems/test-ArmadilloOAuth-48.R Saving _problems/test-ArmadilloOAuth-106.R Saving _problems/test-ArmadilloOAuth-167.R Saving _problems/test-ArmadilloOAuth-202.R Saving _problems/test-ArmadilloOAuth-231.R Saving _problems/test-ArmadilloOAuth-272.R Saving _problems/test-ArmadilloOAuth-301.R Saving _problems/test-ArmadilloOAuth-315.R Saving _problems/test-ArmadilloOAuth-335.R Saving _problems/test-ArmadilloOAuth-1038.R Saving _problems/test-ArmadilloOAuth-1051.R Saving _problems/test-ArmadilloOAuth-1064.R Saving _problems/test-ArmadilloOAuth-1079.R Saving _problems/test-ArmadilloOAuth-1091.R Saving _problems/test-ArmadilloOAuth-1112.R Saving _problems/test-ArmadilloOAuth-1126.R Saving _problems/test-ArmadilloOAuth-1151.R Saving _problems/test-ArmadilloResult-23.R Saving _problems/test-ArmadilloResult-53.R Saving _problems/test-ArmadilloResult-79.R Saving _problems/test-ArmadilloResult-102.R Saving _problems/test-ArmadilloResult-125.R Saving _problems/test-ArmadilloResult-157.R Saving _problems/test-utils-19.R Saving _problems/test-utils-23.R Saving _problems/test-utils-23.R Saving _problems/test-utils-39.R Saving _problems/test-utils-63.R Saving _problems/test-utils-75.R Saving _problems/test-utils-115.R Saving _problems/test-utils-120.R Saving _problems/test-utils-120.R Saving _problems/test-utils-145.R Saving _problems/test-utils-150.R Saving _problems/test-utils-150.R [ FAIL 72 | WARN 0 | SKIP 1 | PASS 45 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • I still don't get the .deparse arguments (1): 'test-utils.R:91:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ArmadilloConnection.R:3:3'): dsDisconnect calls /logout endpoint ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:3:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:17:3'): dsDisconnect saves the workspace ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:17:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:35:3'): dsListProfiles retrieves profiles ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:35:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:52:3'): dsListProfiles returns default result if none found ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:52:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:72:3'): dsListTables retrieves tables ──── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:72:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:89:3'): dsListResources retrieves resources ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:89:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:104:3'): dsHasTable returns TRUE if table exists ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:104:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:118:3'): dsHasTable returns FALSE if table doesnot exist ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:118:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:132:3'): dsHasResource returns TRUE if resource exists ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:132:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:146:3'): dsHasResource returns FALSE if table doesnot exist ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:146:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:174:3'): dsListSymbols returns symbols ─── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:174:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:189:3'): dsRmSymbol removes symbol ─────── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:189:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:202:3'): dsAssignTable assigns table to symbol ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:202:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:222:3'): dsAssignTable allows variable selection ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:222:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:248:3'): dsAssignTable, when called synchronously, waits for result ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:248:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:269:3'): dsAssignResource assigns resource to symbol ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:269:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:291:3'): dsAssignResource, when called synchronously, waits for result ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:291:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:325:3'): dsListMethods returns assign methods ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:325:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:364:3'): dsListPackages extracts name and version from packages ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:364:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:395:3'): dsListWorkspaces lists workspaces ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:395:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:420:3'): dsSaveWorkspace saves workspace ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:420:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:436:3'): dsRmWorkspace removes workspace ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:436:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:451:3'): dsAssignExpr assigns expression to symbol ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:451:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:470:3'): dsAssignExpr deparses function calls in expression ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:470:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:489:3'): dsAssignExpr, when called synchronously, waits for result ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:489:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:517:3'): dsAggregate executes deparsed query ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:517:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:538:3'): dsAssignExpr, when called synchronously, waits for result ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:538:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Failure ('test-ArmadilloConnection.R:572:3'): dsAssignExpr handles error when called synchronously ── `with_mock(...)` threw an error with unexpected message. Expected match: "Internal server error: Error" Actual message: "`with_mock()` was deprecated in testthat 3.2.0 and is now defunct.\nℹ Please use `with_mocked_bindings()` instead." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-ArmadilloConnection.R:572:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─testthat::with_mock(...) 7. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 8. └─lifecycle:::deprecate_stop0(msg) 9. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:601:3'): dsGetInfo returns server info ─── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:601:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloConnection.R:625:3'): dsKeepAlive pings server info endpoint ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloConnection.R:625:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloDriver.R:19:3'): dsConnect returns an ArmadilloConnection ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloDriver.R:19:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloDriver.R:49:3'): dsConnect selects profile if one is provided ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloDriver.R:49:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloDriver.R:80:3'): dsConnect returns an ArmadilloConnection ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloDriver.R:80:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloDriver.R:110:3'): dsConnect can log in with bearer token ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloDriver.R:110:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloDriver.R:139:3'): dsConnect restores user workspace ─── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloDriver.R:139:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:11:3'): get_token returns the id_token from credentials ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:11:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:41:3'): armadillo.get_credentials returns a valid ArmadilloCredentials object ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:41:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:86:3'): .refresh_token returns success message if new credentials are not null and option fusionauth ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:86:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:146:3'): .refresh_token returns success message if new credentials are not null and option keycloak ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:146:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:191:3'): .refresh_token stops with message if fieldErrors returned with fusionauth flow ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:191:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:220:3'): .refresh_token stops with generic message if refresh fails silently fusionauth flow ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:220:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:261:3'): .refresh_token stops with message if fieldErrors returned with keycloak flow ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:261:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:290:3'): .refresh_token stops with generic message if refresh fails silently keycloak flow ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:290:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:308:3'): .get_oauth_info returns content when request is successful ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:308:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:324:3'): .get_oauth_info stops if server info fetch fails ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:324:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1030:3'): .get_updated_expiry_date returns correct expiry time ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1030:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1045:3'): .refresh_token_safely returns refreshed connection if successful ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1045:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1058:3'): .refresh_token_safely returns original connection if refresh returns non-connection ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1058:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1070:3'): .refresh_token_safely returns original connection and warns if error occurs ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1070:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1085:3'): .reset_token_if_expired returns NULL if credentials are NULL ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1085:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1106:3'): .reset_token_if_expired returns NULL if token has not expired ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1106:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1118:3'): .check_multiple_conns throws error when multiple connections are found ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1118:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloOAuth.R:1144:3'): .getDSConnectionsMod returns flag = 2 when multiple DSConnection lists are found ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloOAuth.R:1144:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloResult.R:18:3'): getInfo awaits pending result and retrieves command info ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloResult.R:18:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloResult.R:49:3'): dsFetch retrieves last result for pending result ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloResult.R:49:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloResult.R:75:3'): dsIsCompleted retrieves status of COMPLETED async command ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloResult.R:75:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloResult.R:98:3'): dsIsCompleted retrieves status of FAILED async command ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloResult.R:98:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloResult.R:121:3'): dsIsCompleted retrieves status of RUNNING async command ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloResult.R:121:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-ArmadilloResult.R:153:3'): getInfo returns correct list for 404 errors ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-ArmadilloResult.R:153:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Failure ('test-utils.R:12:3'): .handle_last_command_error throws error message ── `with_mock(...)` threw an error with unexpected message. Expected match: "Error" Actual message: "`with_mock()` was deprecated in testthat 3.2.0 and is now defunct.\nℹ Please use `with_mocked_bindings()` instead." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-utils.R:12:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─testthat::with_mock(...) 7. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 8. └─lifecycle:::deprecate_stop0(msg) 9. └─rlang::cnd_signal(...) ── Failure ('test-utils.R:20:3'): .handle_last_command_error throws error message ── arguments list number 1 not found in mock object ── Error ('test-utils.R:20:3'): .handle_last_command_error throws error message ── Error in `mock_args(mock_object)[[n]]`: subscript out of bounds Backtrace: ▆ 1. └─mockery::expect_args(...) at test-utils.R:20:3 ── Error ('test-utils.R:35:3'): .handle_last_command_error only works if status is FAILED ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-utils.R:35:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-utils.R:57:3'): .handle_request_error handles 400 ────────────── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-utils.R:57:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Error ('test-utils.R:69:3'): .handle_request_error handles 500 ────────────── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-utils.R:69:3 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) ── Failure ('test-utils.R:107:3'): .retry_until_last_result handles 404 by retrieving lastcommand ── `with_mock(...)` threw an error with unexpected message. Expected match: "Command 'broken command' failed on test_cohort: Error whilst evaluating" Actual message: "`with_mock()` was deprecated in testthat 3.2.0 and is now defunct.\nℹ Please use `with_mocked_bindings()` instead." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-utils.R:107:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─testthat::with_mock(...) 7. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 8. └─lifecycle:::deprecate_stop0(msg) 9. └─rlang::cnd_signal(...) ── Failure ('test-utils.R:117:3'): .retry_until_last_result handles 404 by retrieving lastcommand ── arguments list number 1 not found in mock object ── Error ('test-utils.R:117:3'): .retry_until_last_result handles 404 by retrieving lastcommand ── Error in `mock_args(mock_object)[[n]]`: subscript out of bounds Backtrace: ▆ 1. └─mockery::expect_args(...) at test-utils.R:117:3 ── Failure ('test-utils.R:137:3'): .retry_until_last_result handles 404 by retrieving lastcommand ── `with_mock(...)` threw an error with unexpected message. Expected match: "Command 'broken command' failed on test_cohort: Error whilst evaluating" Actual message: "`with_mock()` was deprecated in testthat 3.2.0 and is now defunct.\nℹ Please use `with_mocked_bindings()` instead." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-utils.R:137:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─testthat::with_mock(...) 7. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 8. └─lifecycle:::deprecate_stop0(msg) 9. └─rlang::cnd_signal(...) ── Failure ('test-utils.R:147:3'): .retry_until_last_result handles 404 by retrieving lastcommand ── arguments list number 1 not found in mock object ── Error ('test-utils.R:147:3'): .retry_until_last_result handles 404 by retrieving lastcommand ── Error in `mock_args(mock_object)[[n]]`: subscript out of bounds Backtrace: ▆ 1. └─mockery::expect_args(...) at test-utils.R:147:3 ── Error ('test-utils.R:164:3'): .handle_last_command_error handles 404 error ── Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-utils.R:164:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─testthat::with_mock(...) 10. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 11. └─lifecycle:::deprecate_stop0(msg) 12. └─rlang::cnd_signal(...) [ FAIL 72 | WARN 0 | SKIP 1 | PASS 45 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [7s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 1 ERROR, 1 NOTE