Running ‘testthat.R’ [16s/193s]
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.
  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.
  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.
  Target directory exists: /home/hornik/tmp/scratch/RtmpCeQiZJ
  `overwrite` is TRUE. Overwriting directory: /home/hornik/tmp/scratch/RtmpCeQiZJ
  Target directory exists: /home/hornik/tmp/scratch/RtmpCeQiZJ
  `overwrite` is TRUE. Overwriting directory: /home/hornik/tmp/scratch/RtmpCeQiZJ
  
  Multiple sessions with name 'Advisory Board Meeting'.
  
  Multiple sessions with name 'Advisory Board Meeting'.
  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.
  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.
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 594 ]
  
  ══ 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 
  ── Failure ('test-download_session_asset.R:15:3'): download_session_asset rejects bad input parameters ──
  `download_session_asset(file_name = 3)` did not throw the expected error.
  ── Failure ('test-download_session_asset.R:16:3'): download_session_asset rejects bad input parameters ──
  `download_session_asset(file_name = list(a = 1, b = 2))` did not throw the expected error.
  ── Failure ('test-download_session_asset.R:17:3'): download_session_asset rejects bad input parameters ──
  `download_session_asset(file_name = TRUE)` did not throw the expected error.
  ── 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 
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 594 ]
  Error: Test failures
  Execution halted