Running ‘testthat.R’ [10s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # Copyright (c) Meta Platforms, Inc. and affiliates.
  > # All rights reserved.
  > #
  > # This source code is licensed under the BSD-style license found in the
  > # LICENSE file in the root directory of this source tree.
  > 
  > library("testthat")
  > library("DBI")
  > library("dplyr")
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library("RPresto")
  > 
  > test_check("RPresto")
  Warning: Presto connection default is not available
  Saving _problems/test-PrestoQuery-10.R
  Saving _problems/test-PrestoQuery-57.R
  Saving _problems/test-dbClearResult-16.R
  Saving _problems/test-dbConnect-145.R
  Saving _problems/test-dbDisconnect-15.R
  Saving _problems/test-dbFetch-33.R
  Saving _problems/test-dbFetch-217.R
  Saving _problems/test-dbFetch-263.R
  Saving _problems/test-dbGetInfo-35.R
  Saving _problems/test-dbGetQuery-40.R
  Saving _problems/test-dbGetQuery-100.R
  Saving _problems/test-dbGetQuery-143.R
  Saving _problems/test-dbGetRowCount-24.R
  Saving _problems/test-dbGetStatement-19.R
  Saving _problems/test-dbHasCompleted-19.R
  Saving _problems/test-dbIsValid-46.R
  Saving _problems/test-dbIsValid-86.R
  Saving _problems/test-dbIsValid-204.R
  Saving _problems/test-dbListFields-46.R
  Saving _problems/test-dbListFields-98.R
  Saving _problems/test-dbListFields-248.R
  Saving _problems/test-dbListFields-294.R
  Saving _problems/test-dbListTables-21.R
  Saving _problems/test-dbSendQuery-54.R
  Saving _problems/test-dbSendQuery-96.R
  Saving _problems/test-dbSendQuery-129.R
  Saving _problems/test-dbSendQuery-147.R
  Saving _problems/test-dbSendQuery-164.R
  Saving _problems/test-dbSendQuery-184.R
  Saving _problems/test-dbSendQuery-206.R
  Saving _problems/test-db_explain-22.R
  Saving _problems/test-db_query_fields-39.R
  Saving _problems/test-fetch-26.R
  Saving _problems/test-sql_escape_date-16.R
  Saving _problems/test-sql_escape_datetime-16.R
  Saving _problems/test-translate_sql-14.R
  Saving _problems/test-translate_sql-122.R
  Saving _problems/test-translate_sql-161.R
  Saving _problems/test-translate_sql-327.R
  Saving _problems/test-translate_sql-348.R
  Saving _problems/test-translate_sql-400.R
  Saving _problems/test-translate_sql-428.R
  [ FAIL 42 | WARN 0 | SKIP 68 | PASS 53 ]
  
  ══ Skipped tests (68) ══════════════════════════════════════════════════════════
  • On CRAN (68): 'test-bigint_handling.R:10:3', 'test-bigint_handling.R:23:3',
    'test-bigint_handling.R:52:3', 'test-copy_to.src_presto.R:67:3',
    'test-copy_to.src_presto.R:75:3', 'test-copy_to.src_presto.R:81:3',
    'test-cte.R:10:3', 'test-cte.R:26:3', 'test-cte.R:67:3', 'test-cte.R:108:3',
    'test-cte.R:204:3', 'test-data_types.R:10:3', 'test-data_types.R:31:3',
    'test-data_types.R:67:3', 'test-data_types.R:98:3',
    'test-data_types.R:128:3', 'test-dbAppendTable.R:10:3',
    'test-dbClearResult.R:10:3', 'test-dbCreateTable.R:10:3',
    'test-dbCreateTable.R:41:3', 'test-dbCreateTableAs.R:10:3',
    'test-dbCreateTableAs.R:54:3', 'test-dbDisconnect.R:10:3',
    'test-dbExecute.R:10:3', 'test-dbExecute.R:33:3', 'test-dbExecute.R:56:3',
    'test-dbExecute.R:79:3', 'test-dbExistsTable.R:10:3', 'test-dbFetch.R:10:3',
    'test-dbGetInfo.R:10:3', 'test-dbGetQuery.R:10:3',
    'test-dbGetRowCount.R:10:3', 'test-dbGetStatement.R:10:3',
    'test-dbHasCompleted.R:10:3', 'test-dbIsValid.R:10:3',
    'test-dbListFields.R:10:3', 'test-dbListFields.R:30:3',
    'test-dbListTables.R:10:3', 'test-dbReadTable.R:10:3',
    'test-dbRemoveTable.R:10:3', 'test-dbRenameTable.R:30:3',
    'test-dbSendQuery.R:10:3', 'test-dbWriteTable.R:10:3',
    'test-dbWriteTable.R:76:3', 'test-db_explain.R:10:3',
    'test-db_query_fields.R:10:3', 'test-dbplyr-sql.R:10:3',
    'test-dplyr.integration.R:10:3', 'test-dplyr_as_type.R:10:3',
    'test-extra.credential.R:10:3', 'test-fetch.R:10:3',
    'test-integration.R:31:3', 'test-presto_field.R:26:3',
    'test-presto_field.R:220:3', 'test-presto_field.R:516:3',
    'test-presto_field.R:742:3', 'test-presto_field.R:806:3',
    'test-presto_field.R:840:3', 'test-presto_field.R:898:3',
    'test-presto_field.R:916:3', 'test-presto_field.R:932:3',
    'test-presto_field.R:940:3', 'test-session.property.R:19:3',
    'test-session.timezone.R:21:3', 'test-tbl.src_presto.R:10:3',
    'test-tbl.src_presto.R:44:3', 'test-tbl.src_presto.R:55:3',
    'test-translate_sql.R:198:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-PrestoQuery.R:10:3'): PrestoQuery methods work correctly ───────
  <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. └─RPresto:::setup_mock_connection() at test-PrestoQuery.R:10:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-PrestoQuery.R:57:3'): PrestoQuery methods work correctly with POST data ──
  <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. └─RPresto:::setup_mock_connection() at test-PrestoQuery.R:57:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbClearResult.R:16:3'): dbClearResult works with mock ──────────
  <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. └─RPresto:::setup_mock_connection() at test-dbClearResult.R:16:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbConnect.R:10:3'): dbConnect constructs PrestoConnection correctly ──
  <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-dbConnect.R:10:3
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-dbDisconnect.R:15:3'): dbDisconnect works with mock ────────────
  <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. └─RPresto:::setup_mock_connection() at test-dbDisconnect.R:15:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbFetch.R:33:3'): dbFetch works with mock ──────────────────────
  <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. └─RPresto:::setup_mock_connection() at test-dbFetch.R:33:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbFetch.R:217:3'): dbFetch rbind works correctly ───────────────
  <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. └─RPresto:::setup_mock_connection() at test-dbFetch.R:217:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbFetch.R:263:3'): dbFetch rbind works with zero row chunks ────
  <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. └─RPresto:::setup_mock_connection() at test-dbFetch.R:263:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbGetInfo.R:35:3'): dbGetInfo works with mock ──────────────────
  <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. └─RPresto:::setup_mock_connection() at test-dbGetInfo.R:35:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbGetQuery.R:40:3'): dbGetQuery works with mock ────────────────
  <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. └─RPresto:::setup_mock_connection() at test-dbGetQuery.R:40:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbGetQuery.R:100:3'): dbGetQuery works with data in POST response ──
  <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. └─RPresto:::setup_mock_connection() at test-dbGetQuery.R:100:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbGetQuery.R:143:3'): Inconsistent data in chunks fail ─────────
  <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. └─RPresto:::setup_mock_connection() at test-dbGetQuery.R:143:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbGetRowCount.R:24:3'): dbGetRowCount works with mock ──────────
  <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. └─RPresto:::setup_mock_connection() at test-dbGetRowCount.R:24:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbGetStatement.R:19:3'): dbGetStatement works with mock ────────
  <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. └─RPresto:::setup_mock_connection() at test-dbGetStatement.R:19:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbHasCompleted.R:19:3'): dbHasCompleted works with mock ────────
  <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. └─RPresto:::setup_mock_connection() at test-dbHasCompleted.R:19:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbIsValid.R:46:3'): dbIsValid works with mock - successful queries ──
  <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. └─RPresto:::setup_mock_connection() at test-dbIsValid.R:46:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbIsValid.R:86:3'): dbIsValid works with mock - retries and failures ──
  <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. └─RPresto:::setup_mock_connection() at test-dbIsValid.R:86:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbIsValid.R:204:3'): dbIsValid works with mock - dbClearResult ──
  <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. └─RPresto:::setup_mock_connection() at test-dbIsValid.R:204:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbListFields.R:46:3'): dbListFields works with mock - PrestoConnection ──
  <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. └─RPresto:::setup_mock_connection() at test-dbListFields.R:46:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbListFields.R:98:3'): dbListFields works with mock - PrestoResult ──
  <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. └─RPresto:::setup_mock_connection() at test-dbListFields.R:98:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbListFields.R:248:3'): dbListFields works with mock - PrestoResult - POST data ──
  <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. └─RPresto:::setup_mock_connection() at test-dbListFields.R:248:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbListFields.R:294:3'): dbListFields works with mock - PrestoResult - POST columns ──
  <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. └─RPresto:::setup_mock_connection() at test-dbListFields.R:294:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbListTables.R:21:3'): dbListTables works with mock ────────────
  <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. └─RPresto:::setup_mock_connection() at test-dbListTables.R:21:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbSendQuery.R:54:3'): dbSendQuery works with mock - status code 404 ──
  <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. └─RPresto:::setup_mock_connection() at test-dbSendQuery.R:54:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbSendQuery.R:96:3'): dbSendQuery works with mock - status code 503 ──
  <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. └─RPresto:::setup_mock_connection() at test-dbSendQuery.R:96:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbSendQuery.R:129:3'): dbSendQuery works with mock - status code 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. └─RPresto:::setup_mock_connection() at test-dbSendQuery.R:129:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbSendQuery.R:147:3'): dbSendQuery works with mock - status code 200, 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. └─RPresto:::setup_mock_connection() at test-dbSendQuery.R:147:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbSendQuery.R:164:3'): dbSendQuery works with mock - status code 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. └─RPresto:::setup_mock_connection() at test-dbSendQuery.R:164:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbSendQuery.R:184:3'): dbSendQuery works with mock - regular ───
  <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. └─RPresto:::setup_mock_connection() at test-dbSendQuery.R:184:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-dbSendQuery.R:206:3'): dbSendQuery works with mock - POST data ──
  <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. └─RPresto:::setup_mock_connection() at test-dbSendQuery.R:206:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-db_explain.R:22:3'): db_explain works with mock ────────────────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-db_explain.R:22:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-db_query_fields.R:39:3'): db_query_fields works with mock ──────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-db_query_fields.R:39:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-fetch.R:26:3'): fetch works with mock ──────────────────────────
  <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. └─RPresto:::setup_mock_connection() at test-fetch.R:26:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:8:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-sql_escape_date.R:16:3'): as() works ───────────────────────────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-sql_escape_date.R:16:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-sql_escape_datetime.R:16:3'): as() works ───────────────────────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-sql_escape_datetime.R:16:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-translate_sql.R:14:3'): as() works ─────────────────────────────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-translate_sql.R:14:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-translate_sql.R:122:3'): as.<type>() works ─────────────────────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-translate_sql.R:122:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-translate_sql.R:161:3'): `[[` works for char/numeric indices ───
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-translate_sql.R:161:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-translate_sql.R:327:3'): is.[in]finite() works ─────────────────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-translate_sql.R:327:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-translate_sql.R:348:3'): quantile() and median() throw 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. └─RPresto:::setup_mock_dplyr_connection() at test-translate_sql.R:348:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-translate_sql.R:400:3'): first(), last(), and nth() work ───────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-translate_sql.R:400:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  ── Error ('test-translate_sql.R:428:3'): paste() works ─────────────────────────
  <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. └─RPresto:::setup_mock_dplyr_connection() at test-translate_sql.R:428:3
   2.   └─testthat::with_mock(...) at ./helper-mock_connection.R:38:3
   3.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   4.       └─lifecycle:::deprecate_stop0(msg)
   5.         └─rlang::cnd_signal(...)
  
  [ FAIL 42 | WARN 0 | SKIP 68 | PASS 53 ]
  Error:
  ! Test failures.
  Execution halted