Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(brickster)
  The tzdb package is not installed. Timezones will not be available to Arrow compute functions.
  > library(withr)
  > 
  > test_check("brickster")
  [ FAIL 26 | WARN 0 | SKIP 17 | PASS 255 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • On CRAN (16): 'test-clusters.R:124:1', 'test-connection-pane.R:1:1',
    'test-dbfs.R:61:1', 'test-experiments.R:26:1', 'test-feature-store.R:25:1',
    'test-jobs.R:134:1', 'test-libraries.R:56:1', 'test-misc-helpers.R:16:1',
    'test-mlflow-dbrx.R:103:1', 'test-query-history.R:1:1',
    'test-secrets.R:79:1', 'test-sql-connector.R:27:1',
    'test-sql-execution.R:36:1', 'test-unity-catalog.R:116:1',
    'test-warehouses.R:59:1', 'test-workspace-folder.R:68:1'
  • Test only runs when credentials are available (1): 'test-repl.R:96:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-auth.R:21:3'): auth functions - baseline behaviour ─────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(db_host(), host) at test-auth.R:21:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─brickster::db_host()
   5.   └─httr2::url_parse(host)
   6.     └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-auth.R:87:3'): auth functions - switching profile ──────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(db_host(profile = NULL), host) at test-auth.R:87:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─brickster::db_host(profile = NULL)
   5.   └─httr2::url_parse(host)
   6.     └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-auth.R:149:3'): auth functions - reading .databrickscfg ────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_host(profile = "DEFAULT") at test-auth.R:149:3
   2.   └─httr2::url_parse(host)
   3.     └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-auth.R:200:9'): auth functions - host handling ─────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 4.
  i With name: mock.cloud.databricks.com.
  Caused by error:
  ! Expected `db_host()` to run without any errors.
  i Actually got a <simpleError> with text:
    Failed to parse URL: Bad scheme
  ── Error ('test-auth.R:238:7'): auth functions - workbench managed credentials detection ──
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. ├─withr::with_envvar(...) at test-auth.R:231:3
   2. │ └─base::force(code)
   3. └─brickster::db_host() at test-auth.R:238:7
   4.   └─httr2::url_parse(host)
   5.     └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-auth.R:281:3'): auth functions - workbench managed credentials override env var ──
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_host() at test-auth.R:281:3
   2.   └─httr2::url_parse(host)
   3.     └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-clusters.R:9:3'): Clusters API - don't perform ─────────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_cluster_list(perform_request = F) at test-clusters.R:9:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-dbfs.R:13:3'): DBFS API - don't perform ────────────────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_dbfs_create(path = filename, perform_request = FALSE) at test-dbfs.R:13:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-execution-contexts.R:8:3'): Execution Contexts API - don't perform ──
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_context_create(...) at test-execution-contexts.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-experiments.R:8:3'): experiments API - don't perform ───────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster:::db_experiments_list(max_results = 1, perform_request = FALSE) at test-experiments.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-feature-store.R:8:3'): Feature Store API - don't perform ───────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster:::db_feature_tables_search(perform_request = FALSE) at test-feature-store.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-jobs.R:8:3'): Jobs API - don't perform ─────────────────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_jobs_list(perform_request = F) at test-jobs.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-libraries.R:8:3'): Libraries API - don't perform ───────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_libs_all_cluster_statuses(perform_request = F) at test-libraries.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-misc-helpers.R:8:3'): Misc Helpers - don't perform ─────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_current_workspace_id(perform_request = F) at test-misc-helpers.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-mlflow-dbrx.R:8:3'): Unity Catalog API - don't perform ─────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster:::db_mlflow_registered_models_list(perform_request = F) at test-mlflow-dbrx.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-repos.R:8:3'): Feature Store API - don't perform ───────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_repo_get_all("/", perform_request = FALSE) at test-repos.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Failure ('test-request-helpers.R:11:5'): request helpers - building requests ──
  Expected `{ ... }` to run without any conditions.
  i Actually got a <rlang_error> with text:
    `url` must be a parsed URL, not a list.
  ── Error ('test-request-helpers.R:21:3'): request helpers - building requests ──
  Error in `eval(code, test_env)`: object 'req' not found
  Backtrace:
      ▆
   1. └─testthat::expect_s3_class(req, "httr2_request") at test-request-helpers.R:21:3
   2.   └─testthat::quasi_label(enquo(object), arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('test-secrets.R:8:3'): Secrets API - don't perform ───────────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_secrets_list(scope = "some_scope", perform_request = FALSE) at test-secrets.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-sql-execution.R:8:3'): SQL Execution API - don't perform ───────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_sql_exec_query(...) at test-sql-execution.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-unity-catalog.R:8:3'): Unity Catalog API - don't perform ───────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster:::db_uc_metastore_summary(perform_request = F) at test-unity-catalog.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Failure ('test-vector-search.R:9:5'): Vector Search APIs - don't perform ────
  Expected `{ ... }` to run without any errors.
  i Actually got a <simpleError> with text:
    Failed to parse URL: Bad scheme
  ── Error ('test-vector-search.R:14:3'): Vector Search APIs - don't perform ─────
  Error in `eval(code, test_env)`: object 'req_vse_create' not found
  Backtrace:
      ▆
   1. └─testthat::expect_s3_class(req_vse_create, "httr2_request") at test-vector-search.R:14:3
   2.   └─testthat::quasi_label(enquo(object), arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('test-volumes.R:17:3'): Volumes API - don't perform ──────────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_volume_list(path = valid_volume_path, perform_request = F) at test-volumes.R:17:3
   2.   ├─brickster:::db_volume_action(...)
   3.   │ └─brickster:::db_request(...)
   4.   └─brickster::db_host()
   5.     └─httr2::url_parse(host)
   6.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-warehouses.R:8:3'): Warehouse API - don't perform ──────────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_sql_warehouse_list(perform_request = F) at test-warehouses.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  ── Error ('test-workspace-folder.R:8:3'): Workspace API - don't perform ────────
  Error in `curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)`: Failed to parse URL: Bad scheme
  Backtrace:
      ▆
   1. └─brickster::db_workspace_list(path = "some_path", perform_request = F) at test-workspace-folder.R:8:3
   2.   ├─brickster:::db_request(...)
   3.   └─brickster::db_host()
   4.     └─httr2::url_parse(host)
   5.       └─curl::curl_parse_url(url, baseurl = base_url, decode = FALSE)
  
  [ FAIL 26 | WARN 0 | SKIP 17 | PASS 255 ]
  Error: Test failures
  Execution halted