Running ‘testthat.R’ [10s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(supabaseR)
  supabaseR v1.0.0
  DBI Backend: ✖
  API Backend: ✖
  > 
  > test_check("supabaseR")
  v API credentials set for https://test.supabase.co
  v API credentials set for https://test.supabase.co
  v API credentials set for https://test.supabase.co
  v API credentials set for https://test.supabase.co
  v Deleted 3 rows from users
  v API credentials cleared
  v API credentials cleared
  Saving _problems/test-sb_api_insert-16.R
  v Inserted 2 rows into users
  v Truncated users
  v Updated 1 row in users
  v Upserted 1 row into users
  v Connected to localhost
  v Connected to localhost
  v Disconnected
  v Deleted 3 rows from users
  v Inserted 2 rows into users
  v Truncated users
  Saving _problems/test-sb_db_update-19.R
  v Updated 1 row in users
  v Upserted 1 row into users
  v Upserted 1 row into users
  supabaseR v1.0.0
  DBI Backend: x
  API Backend: x
  supabaseR v1.0.0
  DBI Backend: x
  API Backend: x
  supabaseR v1.0.0
  DBI Backend: x
  API Backend: x
  [ FAIL 2 | WARN 3 | SKIP 57 | PASS 199 ]
  
  ══ Skipped tests (57) ══════════════════════════════════════════════════════════
  • On CRAN (57): 'test-sb_api_connect.R:2:3', 'test-sb_api_delete.R:2:3',
    'test-sb_api_delete.R:9:3', 'test-sb_api_insert.R:2:3',
    'test-sb_api_query.R:2:3', 'test-sb_api_query.R:9:3',
    'test-sb_api_read.R:2:3', 'test-sb_api_request.R:198:3',
    'test-sb_api_request.R:208:3', 'test-sb_api_schema.R:2:3',
    'test-sb_api_schema.R:9:3', 'test-sb_api_table_exists.R:2:3',
    'test-sb_api_table_exists.R:9:3', 'test-sb_api_tables.R:2:3',
    'test-sb_api_truncate.R:2:3', 'test-sb_api_truncate.R:9:3',
    'test-sb_api_update.R:2:3', 'test-sb_api_update.R:12:3',
    'test-sb_api_upsert.R:2:3', 'test-sb_api_upsert.R:12:3',
    'test-sb_db_connect.R:2:3', 'test-sb_db_connect.R:66:3',
    'test-sb_db_creds.R:2:3', 'test-sb_db_creds.R:15:3',
    'test-sb_db_delete.R:2:3', 'test-sb_db_delete.R:9:3',
    'test-sb_db_insert.R:2:3', 'test-sb_db_insert.R:10:3',
    'test-sb_db_query.R:2:3', 'test-sb_db_query.R:9:3',
    'test-sb_db_query.R:16:3', 'test-sb_db_read.R:2:3', 'test-sb_db_read.R:9:3',
    'test-sb_db_schema.R:2:3', 'test-sb_db_schema.R:8:3',
    'test-sb_db_status.R:2:3', 'test-sb_db_table_exists.R:2:3',
    'test-sb_db_table_exists.R:8:3', 'test-sb_db_tables.R:2:3',
    'test-sb_db_truncate.R:2:3', 'test-sb_db_truncate.R:8:3',
    'test-sb_db_update.R:30:3', 'test-sb_wrappers.R:2:3',
    'test-sb_wrappers.R:11:3', 'test-sb_wrappers.R:59:3',
    'test-sb_wrappers.R:122:3', 'test-sb_wrappers.R:153:3',
    'test-sb_wrappers.R:184:3', 'test-sb_wrappers.R:215:3',
    'test-sb_wrappers.R:246:3', 'test-sb_wrappers.R:277:3',
    'test-sb_wrappers.R:284:3', 'test-sb_wrappers.R:318:3',
    'test-sb_wrappers.R:349:3', 'test-sb_wrappers.R:380:3',
    'test-sb_wrappers.R:411:3', 'test-utils.R:90:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-sb_api_insert.R:16:5'): sb_api_insert() / should error on invalid arguments ──
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-sb_api_insert.R:16:5
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  ── Error ('test-sb_db_update.R:12:5'): sb_db_update() / should error on invalid arguments ──
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-sb_db_update.R:12:5
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  
  [ FAIL 2 | WARN 3 | SKIP 57 | PASS 199 ]
  Error:
  ! Test failures.
  Execution halted