Running 'spelling.R' [0s]
  Running 'test-all.R' [77s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > # Modeled after the R6 testing structure: https://github.com/wch/R6/blob/master/tests/testthat.R
  > library(testthat)
  > library(REDCapR)
  > 
  > # source("R/helpers-testing.R")
  > testthat::test_check("REDCapR")
  clear_project_simple success: FALSE.
  Writing batch 1 of 1, with indices 1 through 5.
  5 records were written to REDCap in 0.3 seconds.
  Preparing to upload the file `D:/RCompile/CRANpkg/lib/4.3/REDCapR/test-data/mugshot-1.jpg`.
  file uploaded to REDCap in 0.5 seconds.
  Preparing to upload the file `D:/RCompile/CRANpkg/lib/4.3/REDCapR/test-data/mugshot-2.jpg`.
  file uploaded to REDCap in 0.4 seconds.
  Preparing to upload the file `D:/RCompile/CRANpkg/lib/4.3/REDCapR/test-data/mugshot-3.jpg`.
  file uploaded to REDCap in 0.3 seconds.
  Preparing to upload the file `D:/RCompile/CRANpkg/lib/4.3/REDCapR/test-data/mugshot-4.jpg`.
  file uploaded to REDCap in 0.6 seconds.
  Preparing to upload the file `D:/RCompile/CRANpkg/lib/4.3/REDCapR/test-data/mugshot-5.jpg`.
  file uploaded to REDCap in 0.6 seconds.
  Starting to update 5 records to be written at 2022-11-02 10:25:18.279279.
  Writing batch 1 of 1, with indices 1 through 5.
  5 records were written to REDCap in 0.5 seconds.
  [ FAIL 2 | WARN 0 | SKIP 183 | PASS 114 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (183)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-write-batch.R:48'): update-one-field ─────────────────────────
  `clear_result <- clear_project_simple()` did not throw the expected message.
  ── Failure ('test-write-batch.R:48'): update-one-field ─────────────────────────
  `clear_result` is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Clearing the results from the simple project should be successful.
  Backtrace:
      ▆
   1. └─REDCapR:::clean_start_simple(batch = TRUE) at test-write-batch.R:48:2
   2.   └─testthat::expect_true(clear_result, "Clearing the results from the simple project should be successful.")
  
  [ FAIL 2 | WARN 0 | SKIP 183 | PASS 114 ]
  Error: Test failures
  Execution halted