Running ‘spelling.R’
  Running ‘testthat.R’ [4s/119s]
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%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  
  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     [ FAIL 1 | WARN 0 | SKIP 8 | PASS 29 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (8)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_kobo_token.R:28'): correct token is returned ───────────────
  <http_504/http_500/http_error/error/condition>
  Error in `get_kobo_token(url = "kobo.humanitarianresponse.info", uname = "scary_scarecrow", 
      pwd = "sybWE6USkFxDsr4")`: Gateway Timeout (HTTP 504). Failed to extract token.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-get_kobo_token.R:28:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::unlist(...)
   5. └─KoboconnectR::get_kobo_token(...)
   6.   └─httr::stop_for_status(respon.token, "extract token")
  
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 29 ]
  Error: Test failures
  Execution halted