Last updated on 2025-11-17 17:50:16 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| DSMolgenisArmadillo | 4 | 3 | 6 |
| MolgenisArmadillo | 4 | 9 | |
| MolgenisAuth | 1 | 12 |
Current CRAN status: ERROR: 4, NOTE: 3, OK: 6
Version: 3.0.1
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Mariska Slofstra <m.k.slofstra@umcg.nl>’
The BugReports field in DESCRIPTION has
https://github.com/molgenis/molgenis-r-datashield/issues/
which should likely be
https://github.com/molgenis/molgenis-r-datashield/issues/issues
instead.
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 3.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/7s]
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 3.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/22s]
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 3.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/47s]
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 3.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/11s]
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ───
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<subscriptOutOfBoundsError/error/condition>
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 ──
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
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
Flavor: r-release-linux-x86_64
Version: 3.0.1
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘dsBaseClient’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 4, OK: 9
Version: 2.9.1
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Mariska Slofstra <m.k.slofstra@umcg.nl>’
The BugReports field in DESCRIPTION has
https://github.com/molgenis/molgenis-r-armadillo/issues/
which should likely be
https://github.com/molgenis/molgenis-r-armadillo/issues/issues
instead.
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.9.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tibble)
> library(MolgenisArmadillo)
> library(webmockr)
>
> test_check("MolgenisArmadillo")
crul not installed, skipping enable
HttrAdapter enabled!
Httr2Adapter enabled!
Saving _problems/test-object-46.R
Saving _problems/test-object-86.R
Attempting to install package [ 'C:/test/test.tar.gz' ]
Attempting to install package [ 'C:/test/test.tar.gz' ]
Package [ 'C:/test/test.tar.gz' ] installed
Deleted 'project/folder2'
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
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
Argument `new project` has now been deprecated: please use `target_project` instead
x View 'target_folder/target_table' failed with status '409': 'Project 'link-test222' already has an object 'core-variables/nonrep.alf'
v View 'target_folder/target_table' successfully created
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
Saving _problems/test-utils-17.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-object.R:30:3'): .upload_object handles errors ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-object.R:30:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:70:3'): .upload_object uploads object ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-object.R:70:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:310:3'): .load_object loads the object from file ──────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-object.R:310: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(...)
── Error ('test-utils.R:11:3'): .handle_request_error handles 500 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. └─testthat::with_mock(...) at test-utils.R:11:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.9.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tibble)
> library(MolgenisArmadillo)
> library(webmockr)
>
> test_check("MolgenisArmadillo")
crul not installed, skipping enable
HttrAdapter enabled!
Httr2Adapter enabled!
Saving _problems/test-object-46.R
Saving _problems/test-object-86.R
Attempting to install package [ 'C:/test/test.tar.gz' ]
Attempting to install package [ 'C:/test/test.tar.gz' ]
Package [ 'C:/test/test.tar.gz' ] installed
Deleted 'project/folder2'
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
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
Argument `new project` has now been deprecated: please use `target_project` instead
x View 'target_folder/target_table' failed with status '409': 'Project 'link-test222' already has an object 'core-variables/nonrep.alf'
v View 'target_folder/target_table' successfully created
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
Saving _problems/test-utils-17.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-object.R:30:3'): .upload_object handles errors ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-object.R:30:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:70:3'): .upload_object uploads object ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-object.R:70:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:310:3'): .load_object loads the object from file ──────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-object.R:310: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(...)
── Error ('test-utils.R:11:3'): .handle_request_error handles 500 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. └─testthat::with_mock(...) at test-utils.R:11:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.9.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tibble)
> library(MolgenisArmadillo)
> library(webmockr)
>
> test_check("MolgenisArmadillo")
CrulAdapter enabled!
HttrAdapter enabled!
Httr2Adapter enabled!
Saving _problems/test-object-46.R
Saving _problems/test-object-86.R
Attempting to install package [ 'C:/test/test.tar.gz' ]
Attempting to install package [ 'C:/test/test.tar.gz' ]
Package [ 'C:/test/test.tar.gz' ] installed
Deleted 'project/folder2'
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
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
Argument `new project` has now been deprecated: please use `target_project` instead
x View 'target_folder/target_table' failed with status '409': 'Project 'link-test222' already has an object 'core-variables/nonrep.alf'
v View 'target_folder/target_table' successfully created
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
Saving _problems/test-utils-17.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-object.R:30:3'): .upload_object handles errors ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-object.R:30:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:70:3'): .upload_object uploads object ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-object.R:70:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:310:3'): .load_object loads the object from file ──────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-object.R:310: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(...)
── Error ('test-utils.R:11:3'): .handle_request_error handles 500 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. └─testthat::with_mock(...) at test-utils.R:11:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.9.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tibble)
> library(MolgenisArmadillo)
> library(webmockr)
>
> test_check("MolgenisArmadillo")
crul not installed, skipping enable
HttrAdapter enabled!
Httr2Adapter enabled!
Saving _problems/test-object-46.R
Saving _problems/test-object-86.R
Attempting to install package [ 'C:/test/test.tar.gz' ]
Attempting to install package [ 'C:/test/test.tar.gz' ]
Package [ 'C:/test/test.tar.gz' ] installed
Deleted 'project/folder2'
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
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
Argument `new project` has now been deprecated: please use `target_project` instead
x View 'target_folder/target_table' failed with status '409': 'Project 'link-test222' already has an object 'core-variables/nonrep.alf'
v View 'target_folder/target_table' successfully created
Renaming .csv column name `folder` to `source_folder`: please update your .csv file to silence this message.
Renaming .csv column name `table` to `source_table`: please update your .csv file to silence this message.
'target_folder' not specified in .csv file: defaulting to source folder name
'target_table' not specified in .csv file: defaulting to source table name
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
[1] "project/folder1/obj1" "project/folder1/obj2" "project/folder2/obj3"
[4] "project/folder2/obj4"
Saving _problems/test-utils-17.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-object.R:30:3'): .upload_object handles errors ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-object.R:30:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:70:3'): .upload_object uploads object ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-object.R:70:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─testthat::with_mock(...)
8. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
── Error ('test-object.R:310:3'): .load_object loads the object from file ──────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-object.R:310: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(...)
── Error ('test-utils.R:11:3'): .handle_request_error handles 500 ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
i Please use `with_mocked_bindings()` instead.
Backtrace:
▆
1. └─testthat::with_mock(...) at test-utils.R:11:3
2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
3. └─lifecycle:::deprecate_stop0(msg)
4. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 237 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Current CRAN status: NOTE: 1, OK: 12
Version: 1.0.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Mariska Slofstra <m.k.slofstra@umcg.nl>’
The BugReports field in DESCRIPTION has
https://github.com/molgenis/molgenis-r-auth/issues/
which should likely be
https://github.com/molgenis/molgenis-r-auth/issues/issues
instead.
Flavor: r-devel-linux-x86_64-debian-gcc