Running ‘testthat.R’ [3s/20s]
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(Epoch)
  > 
  > test_check("Epoch")
  Request failed (Status code: 502). Retrying in 2s...
  Request failed (Status code: 502). Retrying in 4s...
  Request failed (Status code: 502). Retrying in 8s...
  Saving _problems/test-EpochDownloader-5.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 139 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-EpochDownloader.R:5:1'): (code run outside of `test_that()`) ───
  Error in `process_response(res)`: Encountered an unexpected error with the OSF API
  Please report this at https://github.com/ropensci/osfr/issues
  * Status code: 502
  * Request: https://api.osf.io/v2/nodes/7rnft/
  * Resonse: 
  <html>
  <head><title>502 Bad Gateway</title></head>
  <body>
  <center><h1>502 Bad Gateway</h1></center>
  <hr><center>nginx</center>
  </body>
  </html>
  
  Backtrace:
       ▆
    1. └─Epoch::EpochDownloader() at test-EpochDownloader.R:5:1
    2.   ├─base::tryCatch(...)
    3.   │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    4.   │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    5.   │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
    6.   ├─osfr::osf_ls_files(osf_retrieve_node(id), n_max = Inf)
    7.   └─osfr::osf_retrieve_node(id)
    8.     └─osfr:::.osf_node_retrieve(id)
    9.       └─osfr:::process_response(res)
   10.         └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 139 ]
  Error:
  ! Test failures.
  Execution halted