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")
  Error:  HTTP 404 Not Found. 
  Error during export creation:  Failed to retrieve existing exports. 
  Export creation was not successful
  Error:  Invalid type entered 
  Export could not be created
  Error:  HTTP 404 Not Found. 
  Error:  Failed to retrieve existing exports. 
  Export could not be created
  Error:  HTTP 401 Unauthorized. 
  Error:  Failed to retrieve existing exports. 
  Export could not be created
  Error:  HTTP 404 Not Found. 
  Error:  Failed to retrieve existing exports. 
  Export could not be created
  Error:  HTTP 404 Not Found. 
  Error during export creation:  Failed to retrieve existing exports. 
  Export creation was not successful
  Data could not be downloaded. Please try again or check the parameters.
  Error:  HTTP 502 Bad Gateway. 
  [1] "Error. Please try again or check the input parameters."
  Saving _problems/test-kobotools_api-28.R
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 27 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-get_kobo_token.R:28:3', 'test-kobo_df_download.R:3:3',
    'test-kobo_export_create.R:5:3', 'test-kobo_export_create.R:16:3',
    'test-kobo_export_create.R:26:3', 'test-kobo_export_create.R:37:3',
    'test-kobo_exports.R:3:3', 'test-kobo_exports.R:9:3',
    'test-kobo_media_downloader.R:2:3', 'test-kobo_xls_dl.R:2:3',
    'test-kobotools_api.R:35:3', 'test-kobotools_kpi_data.R:37:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-kobotools_api.R:28:3'): df is downloaded when simplification applied ──
  Error in `value[[3L]](cond)`: object 'e' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-kobotools_api.R:28:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::is.data.frame(...)
    5. └─KoboconnectR::kobotools_api(...)
    6.   └─base::tryCatch(...)
    7.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    8.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    9.         └─value[[3L]](cond)
   10.           └─base::cat("Error: ", e$message, "\n")
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 27 ]
  Error:
  ! Test failures.
  Execution halted