Running ‘testthat.R’ [21s/258s]
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 4s for retry backoff ========>---------------------- 
  Waiting 4s for retry backoff =======================>------- 
  Waiting 4s for retry backoff =============================>- 
  Target directory exists: /home/hornik/tmp/scratch/Rtmpcr4XOp
  `overwrite` is TRUE. Overwriting directory: /home/hornik/tmp/scratch/Rtmpcr4XOp
  Target directory exists: /home/hornik/tmp/scratch/Rtmpcr4XOp
  `overwrite` is TRUE. Overwriting directory: /home/hornik/tmp/scratch/Rtmpcr4XOp
  
  Downloading: 170 B     
  Downloading: 170 B     
  Downloading: 170 B     
  Downloading: 170 B     
  Multiple sessions with name 'Advisory Board Meeting'.
  
  Multiple sessions with name 'Advisory Board Meeting'.
  
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 33 kB     
  Downloading: 33 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 33 kB     
  Downloading: 33 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 82 kB     
  Downloading: 82 kB     
  Downloading: 82 kB     
  Downloading: 82 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 4.1 kB     
  Downloading: 4.1 kB     
  Downloading: 4.1 kB     
  Downloading: 4.1 kB     
  Not logged in. Only public information will be returned.
  
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 120 B     
  Downloading: 120 B     
  Downloading: 120 B     
  Downloading: 120 B     
  Downloading: 170 B     
  Downloading: 170 B     
  Downloading: 170 B     
  Downloading: 170 B     
  Downloading: 83 B     
  Downloading: 83 B     
  Downloading: 83 B     
  Downloading: 83 B     NULL request object. Will generate default.
  Not logged in. Only public information will be returned.
  NULL request object. Will generate default.
  Not logged in. Only public information will be returned.
  
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Not logged in. Only public information will be returned.
  
  Not logged in. Only public information will be returned.
  
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 4.1 kB     
  Downloading: 4.1 kB     
  Downloading: 4.1 kB     
  Downloading: 4.1 kB     
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  No encoding supplied: defaulting to UTF-8.
  
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 990 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 810 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 800 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 290 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     
  Downloading: 240 B     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 802 ]
  
  ══ 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)`: Empty reply from server
  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)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 802 ]
  Error: Test failures
  Execution halted