Running 'spelling.R' [0s]
  Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(KoboconnectR)
  Extract Kobotools data to R
  > 
  > test_check("KoboconnectR")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
  Downloading: 3.7 kB     
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 27 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (7)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-kobotools_api.R:31:3): list is downloaded when simplification not applied ──
  <http_502/http_500/http_error/error/condition>
  Error in `kobotools_api(url = "kobo.humanitarianresponse.info", simplified = T, 
      uname = "scary_scarecrow", pwd = "sybWE6USkFxDsr4")`: Bad Gateway (HTTP 502). Failed to extract asset details.
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-kobotools_api.R:31:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─KoboconnectR::kobotools_api(...)
   5.   └─httr::stop_for_status(respon.api, "extract asset details")
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 27 ]
  Error: Test failures
  Execution halted