Running 'testthat.R' [27m]
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(databraryr)
  Welcome to the databraryr package.
  > 
  > test_check("databraryr")
  Waiting 4s for retry backoff =======>----------------------- 
  Waiting 4s for retry backoff ====================>---------- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 2s for retry backoff ===============>--------------- 
  Waiting 2s for retry backoff ==============================> 
  Waiting 3s for retry backoff ===========>------------------- 
  Waiting 3s for retry backoff ==============================> 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff =============>----------------- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 3s for retry backoff ===========>------------------- 
  Waiting 3s for retry backoff ==============================> 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff ====================>---------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 2s for retry backoff ===============>--------------- 
  Waiting 2s for retry backoff ============================>-- 
  Waiting 3s for retry backoff ===========>------------------- 
  Waiting 3s for retry backoff =======================>------- 
  Waiting 3s for retry backoff =============================>- 
  Waiting 3s for retry backoff ===========>------------------- 
  Waiting 3s for retry backoff ==============================> 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff ==================>------------ 
  Waiting 4s for retry backoff =============================>- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff =========================>----- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 3s for retry backoff ==============>---------------- 
  Waiting 3s for retry backoff =============================>- 
  Waiting 3s for retry backoff ==========>-------------------- 
  Waiting 3s for retry backoff ===========================>--- 
  Waiting 3s for retry backoff =============================>- 
  Waiting 2s for retry backoff ===============>--------------- 
  Waiting 2s for retry backoff ============================>-- 
  Waiting 2s for retry backoff ===============>--------------- 
  Waiting 2s for retry backoff ============================>-- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ==================>------------ 
  Waiting 4s for retry backoff ==============================> 
  Waiting 4s for retry backoff ==========>-------------------- 
  Waiting 4s for retry backoff ===================>----------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 3s for retry backoff ===========>------------------- 
  Waiting 3s for retry backoff =====================>--------- 
  Waiting 3s for retry backoff ==============================> 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff ===================>----------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 3s for retry backoff ==============>---------------- 
  Waiting 3s for retry backoff =============================>- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ==============>---------------- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ==============================> 
  
  Not logged in. Only public information will be returned.
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ===========================>--- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff =========================>----- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 3s for retry backoff ============>------------------ 
  Waiting 3s for retry backoff ========================>------ 
  Waiting 3s for retry backoff =============================>- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff =======================>------- 
  Waiting 4s for retry backoff ==============================> 
  NULL request object. Will generate default.
  Not logged in. Only public information will be returned.
  Waiting 2s for retry backoff ===============>--------------- 
  Waiting 2s for retry backoff ============================>-- 
  NULL request object. Will generate default.
  Not logged in. Only public information will be returned.
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff =====================>--------- 
  Waiting 4s for retry backoff =============================>- 
  
  Not logged in. Only public information will be returned.
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff =============>----------------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 4s for retry backoff ==========>-------------------- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff ===================>----------- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 3s for retry backoff ==============>---------------- 
  Waiting 3s for retry backoff =============================>- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ========================>------ 
  Waiting 4s for retry backoff ==============================> 
  Waiting 2s for retry backoff ===============>--------------- 
  Waiting 2s for retry backoff ============================>-- 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ================>-------------- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 3s for retry backoff ============>------------------ 
  Waiting 3s for retry backoff =============================>- 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff ==================>------------ 
  Waiting 4s for retry backoff ==============================> 
  Waiting 3s for retry backoff ============>------------------ 
  Waiting 3s for retry backoff =============================>- 
  Waiting 3s for retry backoff ==============>---------------- 
  Waiting 3s for retry backoff =============================>- 
  Waiting 4s for retry backoff =========>--------------------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 3s for retry backoff ============>------------------ 
  Waiting 3s for retry backoff =============================>- 
  Waiting 3s for retry backoff ============>------------------ 
  Waiting 3s for retry backoff =======================>------- 
  Waiting 3s for retry backoff ==============================> 
  Waiting 3s for retry backoff ============>------------------ 
  Waiting 3s for retry backoff ==============================> 
  Waiting 3s for retry backoff =============>----------------- 
  Waiting 3s for retry backoff =============================>- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ==============>---------------- 
  Waiting 4s for retry backoff ==============================> 
  Waiting 3s for retry backoff ==============>---------------- 
  Waiting 3s for retry backoff ==============================> 
  Waiting 4s for retry backoff ==========>-------------------- 
  Waiting 4s for retry backoff =============>----------------- 
  Waiting 4s for retry backoff =============================>- 
  Waiting 2s for retry backoff ==============>---------------- 
  Waiting 2s for retry backoff ============================>-- 
  Waiting 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff ===============>--------------- 
  Waiting 4s for retry backoff ==============================> 
  [ FAIL 39 | WARN 0 | SKIP 0 | PASS 759 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-assign_constants.R:2:3'): assign_constants returns list ──────
  "list" %in% class(assign_constants()) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-download_asset.R:35:3'): download_asset returns character string ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10010 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(is.character(download_asset())) at test-download_asset.R:35:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─databraryr::download_asset()
    5.   └─rvest::session(url_download)
    6.     └─rvest:::session_get(session, url)
    7.       └─httr::GET(url, x$config, ..., handle = x$handle)
    8.         └─httr:::request_perform(req, hu$handle$handle)
    9.           ├─httr:::request_fetch(req$output, req$url, handle)
   10.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-download_session_zip.R:28:3'): download_session_zip returns string ──
  is.character(download_session_zip()) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-download_volume_zip.R:24:3'): download_volume_zip returns string ──
  is.character(download_volume_zip()) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-get_db_stats.R:3:3'): get_db_stats returns a data.frame by default ──
  Error in `httr2::resp_status(resp)`: `resp` must be an HTTP response object, not `NULL`.
  Backtrace:
      ▆
   1. ├─testthat::expect_true("data.frame" %in% class(get_db_stats())) at test-get_db_stats.R:3:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─"data.frame" %in% class(get_db_stats())
   5. └─databraryr::get_db_stats()
   6.   └─httr2::resp_status(resp = resp)
   7.     └─httr2:::check_response(resp)
   8.       └─httr2:::stop_input_type(...)
   9.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-get_db_stats.R:7:3'): get_db_stats returns a data.frame with 'good' values for type parameter ──
  Error in `httr2::resp_status(resp)`: `resp` must be an HTTP response object, not `NULL`.
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-get_db_stats.R:7:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::is.data.frame(get_db_stats("people"))
   5. └─databraryr::get_db_stats("people")
   6.   └─httr2::resp_status(resp = resp)
   7.     └─httr2:::check_response(resp)
   8.       └─httr2:::stop_input_type(...)
   9.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-get_party_as_df.R:3:3'): get_party_as_df returns a data frame ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(party_id, get_one_party, vb = vb, .progress = TRUE)`: i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10013 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true("data.frame" %in% class(get_party_as_df())) at test-get_party_as_df.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─"data.frame" %in% class(get_party_as_df())
    5. ├─databraryr::get_party_as_df()
    6. │ ├─... %>% purrr::list_rbind()
    7. │ └─purrr::map(party_id, get_one_party, vb = vb, .progress = TRUE)
    8. │   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
    9. │     ├─purrr:::with_indexed_errors(...)
   10. │     │ └─base::withCallingHandlers(...)
   11. │     ├─purrr:::call_with_cleanup(...)
   12. │     └─databraryr (local) .f(.x[[i]], ...)
   13. │       └─databraryr::GET_db_contents(...)
   14. │         └─httr::GET(URL, httr::progress())
   15. │           └─httr:::request_perform(req, hu$handle$handle)
   16. │             ├─httr:::request_fetch(req$output, req$url, handle)
   17. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   18. │               └─curl::curl_fetch_memory(url, handle = handle)
   19. ├─purrr::list_rbind(.)
   20. │ └─purrr:::check_list_of_data_frames(x)
   21. │   └─vctrs::vec_check_list(x, call = error_call)
   22. │     └─vctrs::obj_check_list(x, ..., arg = arg, call = call)
   23. └─base::.handleSimpleError(...)
   24.   └─purrr (local) h(simpleError(msg, call))
   25.     └─cli::cli_abort(...)
   26.       └─rlang::abort(...)
  ── Failure ('test-get_session_as_df.R:3:3'): get_session_as_df returns a data frame ──
  "data.frame" %in% class(get_session_as_df()) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-get_session_by_name.R:3:3'): get_session_by_name returns a list or is NULL. ──
  <assertError/simpleError/error/condition>
  Error: volume_json is not a list
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-get_session_by_name.R:3:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─databraryr::get_session_by_name()
   5.   └─databraryr (local) extract_session_metadata(volume_json)
   6.     └─assertthat::assert_that(is.list(volume_json))
  ── Error ('test-list_affiliates.R:3:3'): list_affiliates returns a data.frame or is NULL. ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(party_id, list_single_party_affiliates, report_target_party = report_target_party, 
      vb = vb, .progress = "Party affiliates: ")`: i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10016 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-list_affiliates.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─databraryr::list_affiliates()
    5. │ ├─... %>% purrr::list_rbind()
    6. │ └─purrr::map(...)
    7. │   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
    8. │     ├─purrr:::with_indexed_errors(...)
    9. │     │ └─base::withCallingHandlers(...)
   10. │     ├─purrr:::call_with_cleanup(...)
   11. │     └─databraryr (local) .f(.x[[i]], ...)
   12. │       └─databraryr::GET_db_contents(...)
   13. │         └─httr::GET(URL, httr::progress())
   14. │           └─httr:::request_perform(req, hu$handle$handle)
   15. │             ├─httr:::request_fetch(req$output, req$url, handle)
   16. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   17. │               └─curl::curl_fetch_memory(url, handle = handle)
   18. ├─purrr::list_rbind(.)
   19. │ └─purrr:::check_list_of_data_frames(x)
   20. │   └─vctrs::vec_check_list(x, call = error_call)
   21. │     └─vctrs::obj_check_list(x, ..., arg = arg, call = call)
   22. └─base::.handleSimpleError(...)
   23.   └─purrr (local) h(simpleError(msg, call))
   24.     └─cli::cli_abort(...)
   25.       └─rlang::abort(...)
  ── Error ('test-list_assets_by_type.R:3:3'): list_assets_by_type returns data.frame ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(vol_id, list_one_session, vb = vb)`: i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10012 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(class(list_assets_by_type()) == "data.frame") at test-list_assets_by_type.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─databraryr::list_assets_by_type()
    5. │ └─databraryr::list_assets_in_volume(vol_id = vol_id, vb = vb)
    6. │   └─databraryr::list_sessions(vol_id = vol_id, vb = vb)
    7. │     ├─purrr::map(vol_id, list_one_session, vb = vb) %>% purrr::list_rbind()
    8. │     └─purrr::map(vol_id, list_one_session, vb = vb)
    9. │       └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   10. │         ├─purrr:::with_indexed_errors(...)
   11. │         │ └─base::withCallingHandlers(...)
   12. │         ├─purrr:::call_with_cleanup(...)
   13. │         └─databraryr (local) .f(.x[[i]], ...)
   14. │           └─databraryr::GET_db_contents(...)
   15. │             └─httr::GET(URL, httr::progress())
   16. │               └─httr:::request_perform(req, hu$handle$handle)
   17. │                 ├─httr:::request_fetch(req$output, req$url, handle)
   18. │                 └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   19. │                   └─curl::curl_fetch_memory(url, handle = handle)
   20. ├─purrr::list_rbind(.)
   21. │ └─purrr:::check_list_of_data_frames(x)
   22. │   └─vctrs::vec_check_list(x, call = error_call)
   23. │     └─vctrs::obj_check_list(x, ..., arg = arg, call = call)
   24. └─base::.handleSimpleError(...)
   25.   └─purrr (local) h(simpleError(msg, call))
   26.     └─cli::cli_abort(...)
   27.       └─rlang::abort(...)
  ── Error ('test-list_assets_in_session.R:3:3'): list_assets_by_type returns data.frame ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10007 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(class(list_assets_in_session()) == "data.frame") at test-list_assets_in_session.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─databraryr::list_assets_in_session()
    5.   └─databraryr::GET_db_contents(...)
    6.     └─httr::GET(URL, httr::progress())
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-list_assets_in_volume.R:3:3'): list_assets_in_volume returns a data frame or is NULL. ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(vol_id, list_one_session, vb = vb)`: i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10000 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-list_assets_in_volume.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─databraryr::list_assets_in_volume()
    5. │ └─databraryr::list_sessions(vol_id = vol_id, vb = vb)
    6. │   ├─purrr::map(vol_id, list_one_session, vb = vb) %>% purrr::list_rbind()
    7. │   └─purrr::map(vol_id, list_one_session, vb = vb)
    8. │     └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
    9. │       ├─purrr:::with_indexed_errors(...)
   10. │       │ └─base::withCallingHandlers(...)
   11. │       ├─purrr:::call_with_cleanup(...)
   12. │       └─databraryr (local) .f(.x[[i]], ...)
   13. │         └─databraryr::GET_db_contents(...)
   14. │           └─httr::GET(URL, httr::progress())
   15. │             └─httr:::request_perform(req, hu$handle$handle)
   16. │               ├─httr:::request_fetch(req$output, req$url, handle)
   17. │               └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   18. │                 └─curl::curl_fetch_memory(url, handle = handle)
   19. ├─purrr::list_rbind(.)
   20. │ └─purrr:::check_list_of_data_frames(x)
   21. │   └─vctrs::vec_check_list(x, call = error_call)
   22. │     └─vctrs::obj_check_list(x, ..., arg = arg, call = call)
   23. └─base::.handleSimpleError(...)
   24.   └─purrr (local) h(simpleError(msg, call))
   25.     └─cli::cli_abort(...)
   26.       └─rlang::abort(...)
  ── Error ('test-list_containers_records.R:3:3'): list_containers_records returns data.frame ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10007 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true("list" %in% class(list_containers_records())) at test-list_containers_records.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─"list" %in% class(list_containers_records())
    5. └─databraryr::list_containers_records()
    6.   └─databraryr::GET_db_contents(...)
    7.     └─httr::GET(URL, httr::progress())
    8.       └─httr:::request_perform(req, hu$handle$handle)
    9.         ├─httr:::request_fetch(req$output, req$url, handle)
   10.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-list_party.R:3:3'): list_party returns a list or is NULL. ──────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10002 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-list_party.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─databraryr::list_party()
    5.   └─databraryr::GET_db_contents(...)
    6.     └─httr::GET(URL, httr::progress())
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-list_people.R:3:3'): list_people returns data.frame ────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map(.x, .f, ...)`: i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10000 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true("data.frame" %in% class(list_people())) at test-list_people.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─"data.frame" %in% class(list_people())
    5. ├─databraryr::list_people()
    6. │ └─purrr::map_df(people_list, list_person, .progress = "People info:")
    7. │   └─purrr::map(.x, .f, ...)
    8. │     └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
    9. │       ├─purrr:::with_indexed_errors(...)
   10. │       │ └─base::withCallingHandlers(...)
   11. │       ├─purrr:::call_with_cleanup(...)
   12. │       └─databraryr (local) .f(.x[[i]], ...)
   13. │         └─databraryr::download_party(party, vb = vb)
   14. │           └─databraryr::GET_db_contents(...)
   15. │             └─httr::GET(URL, httr::progress())
   16. │               └─httr:::request_perform(req, hu$handle$handle)
   17. │                 ├─httr:::request_fetch(req$output, req$url, handle)
   18. │                 └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   19. │                   └─curl::curl_fetch_memory(url, handle = handle)
   20. └─base::.handleSimpleError(...)
   21.   └─purrr (local) h(simpleError(msg, call))
   22.     └─cli::cli_abort(...)
   23.       └─rlang::abort(...)
  ── Failure ('test-list_session_assets.R:14:3'): list_session_assets rejects bad input parameters ──
  `list_session_assets(vb = -1)` did not throw the expected error.
  ── Failure ('test-list_session_assets.R:15:3'): list_session_assets rejects bad input parameters ──
  `list_session_assets(vb = 3)` did not throw the expected error.
  ── Error ('test-list_sessions.R:3:3'): list_sessions returns data.frame ────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(vol_id, list_one_session, vb = vb)`: i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10001 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(class(list_sessions()) == "data.frame") at test-list_sessions.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─databraryr::list_sessions()
    5. │ ├─purrr::map(vol_id, list_one_session, vb = vb) %>% purrr::list_rbind()
    6. │ └─purrr::map(vol_id, list_one_session, vb = vb)
    7. │   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
    8. │     ├─purrr:::with_indexed_errors(...)
    9. │     │ └─base::withCallingHandlers(...)
   10. │     ├─purrr:::call_with_cleanup(...)
   11. │     └─databraryr (local) .f(.x[[i]], ...)
   12. │       └─databraryr::GET_db_contents(...)
   13. │         └─httr::GET(URL, httr::progress())
   14. │           └─httr:::request_perform(req, hu$handle$handle)
   15. │             ├─httr:::request_fetch(req$output, req$url, handle)
   16. │             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   17. │               └─curl::curl_fetch_memory(url, handle = handle)
   18. ├─purrr::list_rbind(.)
   19. │ └─purrr:::check_list_of_data_frames(x)
   20. │   └─vctrs::vec_check_list(x, call = error_call)
   21. │     └─vctrs::obj_check_list(x, ..., arg = arg, call = call)
   22. └─base::.handleSimpleError(...)
   23.   └─purrr (local) h(simpleError(msg, call))
   24.     └─cli::cli_abort(...)
   25.       └─rlang::abort(...)
  ── Error ('test-list_sessions_in_volume.R:3:3'): list_sessions_in_volume returns data.frame ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(vol_id, list_one_session, vb = vb)`: i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10004 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(class(list_sessions_in_volume()) == "data.frame") at test-list_sessions_in_volume.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─databraryr::list_sessions_in_volume()
    5. │ └─databraryr::list_sessions(vol_id = vol_id, vb = vb)
    6. │   ├─purrr::map(vol_id, list_one_session, vb = vb) %>% purrr::list_rbind()
    7. │   └─purrr::map(vol_id, list_one_session, vb = vb)
    8. │     └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
    9. │       ├─purrr:::with_indexed_errors(...)
   10. │       │ └─base::withCallingHandlers(...)
   11. │       ├─purrr:::call_with_cleanup(...)
   12. │       └─databraryr (local) .f(.x[[i]], ...)
   13. │         └─databraryr::GET_db_contents(...)
   14. │           └─httr::GET(URL, httr::progress())
   15. │             └─httr:::request_perform(req, hu$handle$handle)
   16. │               ├─httr:::request_fetch(req$output, req$url, handle)
   17. │               └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   18. │                 └─curl::curl_fetch_memory(url, handle = handle)
   19. ├─purrr::list_rbind(.)
   20. │ └─purrr:::check_list_of_data_frames(x)
   21. │   └─vctrs::vec_check_list(x, call = error_call)
   22. │     └─vctrs::obj_check_list(x, ..., arg = arg, call = call)
   23. └─base::.handleSimpleError(...)
   24.   └─purrr (local) h(simpleError(msg, call))
   25.     └─cli::cli_abort(...)
   26.       └─rlang::abort(...)
  ── Error ('test-list_volume.R:3:3'): list_volume returns a list or is NULL. ────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10003 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-list_volume.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─databraryr::list_volume()
    5.   └─databraryr::GET_db_contents(...)
    6.     └─httr::GET(URL, httr::progress())
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-list_volume_metadata.R:3:3'): list_volume_metadata returns data.frame ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10009 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(class(list_volume_metadata()) == "data.frame") at test-list_volume_metadata.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─databraryr::list_volume_metadata()
    5.   └─databraryr::list_containers_records(vol_id = vol_id, vb = vb)
    6.     └─databraryr::GET_db_contents(...)
    7.       └─httr::GET(URL, httr::progress())
    8.         └─httr:::request_perform(req, hu$handle$handle)
    9.           ├─httr:::request_fetch(req$output, req$url, handle)
   10.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-list_volume_sessions.R:3:3'): list_volume_sessions returns data.frame given valid vol_id ──
  "data.frame" %in% class(list_volume_sessions()) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-logout_db.R:9:3'): logout_db returns logical ───────────────────
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(rq)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Connection timed out after 5016 milliseconds
  Backtrace:
      ▆
   1. ├─testthat::expect_true(is.logical(logout_db())) at test-logout_db.R:9:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─databraryr::logout_db()
   5.   └─httr2::req_perform(rq)
   6.     └─base::tryCatch(...)
   7.       └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   8.         └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   9.           └─value[[3L]](cond)
  ── Error ('test-logout_db.R:13:1'): (code run outside of `test_that()`) ────────
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(rq)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Connection timed out after 5014 milliseconds
  Backtrace:
      ▆
   1. └─databraryr::logout_db() at test-logout_db.R:13:1
   2.   └─httr2::req_perform(rq)
   3.     └─base::tryCatch(...)
   4.       └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   5.         └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6.           └─value[[3L]](cond)
  ── Error ('test-read_csv_data_as_df.R:3:3'): read_csv_data_as_df returns data.frame ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10006 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(is.data.frame(read_csv_data_as_df())) at test-read_csv_data_as_df.R:3:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::is.data.frame(read_csv_data_as_df())
    5. └─databraryr::read_csv_data_as_df()
    6.   └─databraryr::GET_db_contents(...)
    7.     └─httr::GET(URL, httr::progress())
    8.       └─httr:::request_perform(req, hu$handle$handle)
    9.         ├─httr:::request_fetch(req$output, req$url, handle)
   10.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-read_csv_data_as_df.R:7:3'): read_csv_data_as_df returns NULL ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10015 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(is.null(read_csv_data_as_df(session = 1))) at test-read_csv_data_as_df.R:7:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─databraryr::read_csv_data_as_df(session = 1)
    5.   └─databraryr::GET_db_contents(...)
    6.     └─httr::GET(URL, httr::progress())
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-search_for_keywords.R:3:3'): search_for_keywords returns list ──
  class(search_for_keywords()) == "list" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-search_for_tags.R:3:3'): search_for_tags returns character ───
  "character" %in% class(search_for_tags()) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-summarize_videos_in_volume.R:3:3'): summarize_videos_in_volume returns data.frame ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(vol_id, get_single_volume_data, vb = vb, .progress = TRUE)`: i In index: 1.
  Caused by error in `purrr::map()`:
  i In index: 1.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Timeout was reached: [nyu.databrary.org] Failed to connect to nyu.databrary.org port 443 after 10009 ms: Timeout was reached
  ── Failure ('test-utils.R:3:3'): get_file_duration returns an integer array ────
  class(get_file_duration()) == "integer" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:4:3'): get_file_duration returns an integer array ────
  length(get_file_duration()) == 1 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:19:3'): get_asset_segment_range returns an integer array ──
  class(get_asset_segment_range()) == "integer" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:20:3'): get_asset_segment_range returns an integer array ──
  length(get_asset_segment_range()) == 2 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:43:3'): get_permission_levels returns a character array ──
  class(get_permission_levels()) == "character" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:44:3'): get_permission_levels returns a character array ──
  length(get_permission_levels()) == 6 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:55:3'): get_release_levels returns a character array ──
  class(get_release_levels()) == "character" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:56:3'): get_release_levels returns a character array ──
  length(get_release_levels()) == 4 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-utils.R:68:3'): get_supported_file_types returns data.frame ────
  Error in `UseMethod("rename")`: no applicable method for 'rename' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. ├─testthat::expect_true(is.data.frame(get_supported_file_types())) at test-utils.R:68:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::is.data.frame(get_supported_file_types())
   5. └─databraryr::get_supported_file_types()
   6.   └─dplyr::rename(ft, asset_type = "name", asset_type_id = "id")
  
  [ FAIL 39 | WARN 0 | SKIP 0 | PASS 759 ]
  Error: Test failures
  Execution halted