Running ‘testthat.R’ [24s/343s]
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")
  Cannot access requested resource on Databrary. Exiting.
  Target directory exists: /tmp/Rtmpe0bkck/working_dir/RtmpqNrhQ6
  `overwrite` is TRUE. Overwriting directory: /tmp/Rtmpe0bkck/working_dir/RtmpqNrhQ6
  Target directory exists: /tmp/Rtmpe0bkck/working_dir/RtmpqNrhQ6
  `overwrite` is TRUE. Overwriting directory: /tmp/Rtmpe0bkck/working_dir/RtmpqNrhQ6
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  
  Multiple sessions with name 'Advisory Board Meeting'.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  NULL request object. Will generate default.
  Not logged in. Only public information will be returned.
  Retrieving assets from session id 9807.
  Cannot access requested resource on Databrary. Exiting.
  NULL request object. Will generate default.
  Not logged in. Only public information will be returned.
  Retrieving assets from session id 9807.
  
  Not logged in. Only public information will be returned.
  
  Not logged in. Only public information will be returned.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  Cannot access requested resource on Databrary. Exiting.
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 592 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── 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 
  ── Failure ('test-get_session_by_id.R:3:3'): get_session_by_id returns a list or is NULL. ──
  (is.null(get_session_by_id()) || ("list" %in% class(get_session_by_id()))) 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. ├─"list" %in% class(get_session_by_name())
   5. └─databraryr::get_session_by_name()
   6.   └─databraryr (local) extract_session_metadata(volume_json)
   7.     └─assertthat::assert_that(is.list(volume_json))
  ── Failure ('test-get_volume_by_id.R:3:3'): get_volume_by_id returns a list or is NULL. ──
  (is.null(get_volume_by_id()) || ("list" %in% class(get_volume_by_id()))) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── 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_volume_session_assets.R:3:3'): list_volume_session_assets returns data.frame or is NULL ──
  (...) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 592 ]
  Error: Test failures
  Execution halted