Running ‘spelling.R’ [0s/0s]
  Running ‘test-all.R’ [10s/22s]
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")
  [ FAIL 1 | WARN 0 | SKIP 253 | PASS 160 ]
  
  ══ Skipped tests (253) ═════════════════════════════════════════════════════════
  • On CRAN (251): 'test-arm-export.R:27:3', 'test-arm-export.R:50:3',
    'test-arm-export.R:71:3', 'test-arm-export.R:93:3',
    'test-arm-export.R:115:3', 'test-column-sanitize.R:13:3',
    'test-dag-read.R:7:3', 'test-dag-read.R:20:3', 'test-dag-read.R:47:3',
    'test-delete.R:5:3', 'test-delete.R:57:3', 'test-delete.R:109:3',
    'test-delete.R:128:3', 'test-delete.R:147:3', 'test-delete.R:168:3',
    'test-delete.R:188:3', 'test-event-instruments.R:6:3',
    'test-event-instruments.R:17:3', 'test-event-instruments.R:42:3',
    'test-event-instruments.R:80:3', 'test-event-instruments.R:104:3',
    'test-event-instruments.R:129:3', 'test-event-instruments.R:149:3',
    'test-event-instruments.R:174:3', 'test-event-read.R:30:3',
    'test-event-read.R:52:3', 'test-event-read.R:74:3', 'test-event-read.R:95:3',
    'test-event-read.R:117:3', 'test-event-read.R:138:3',
    'test-file-oneshot.R:7:3', 'test-file-oneshot.R:55:3',
    'test-file-oneshot.R:103:3', 'test-file-oneshot.R:151:3',
    'test-file-oneshot.R:199:3', 'test-file-oneshot.R:329:3',
    'test-file-oneshot.R:457:3', 'test-file-oneshot.R:500:3',
    'test-file-oneshot.R:540:3', 'test-file-oneshot.R:558:3',
    'test-instruments-metadata.R:7:3', 'test-instruments-metadata.R:18:3',
    'test-instruments-metadata.R:41:3', 'test-instruments-metadata.R:61:3',
    'test-instruments.R:7:3', 'test-instruments.R:36:3',
    'test-instruments.R:75:3', 'test-log-read.R:9:3', 'test-log-read.R:22:3',
    'test-log-read.R:47:3', 'test-log-read.R:71:3',
    'test-metadata-coltypes.R:5:3', 'test-metadata-coltypes.R:18:3',
    'test-metadata-coltypes.R:55:3', 'test-metadata-coltypes.R:92:3',
    'test-metadata-coltypes.R:130:3', 'test-metadata-coltypes.R:165:3',
    'test-metadata-coltypes.R:195:3', 'test-metadata-read.R:11:3',
    'test-metadata-read.R:24:3', 'test-metadata-read.R:50:3',
    'test-metadata-read.R:76:3', 'test-metadata-read.R:102:3',
    'test-metadata-read.R:128:3', 'test-metadata-read.R:154:3',
    'test-metadata-read.R:179:3', 'test-metadata-read.R:204:3',
    'test-metadata-read.R:224:3', 'test-metadata-read.R:244:3',
    'test-metadata-read.R:264:3', 'test-metadata-read.R:290:3',
    'test-metadata-write.R:18:3', 'test-metadata-write.R:37:3',
    'test-next-free-record-name.R:6:3', 'test-next-free-record-name.R:17:3',
    'test-next-free-record-name.R:30:3', 'test-next-free-record-name.R:46:3',
    'test-next-free-record-name.R:62:3', 'test-next-free-record-name.R:78:3',
    'test-project-info-read.R:7:3', 'test-project-info-read.R:18:3',
    'test-project-info-read.R:44:3', 'test-project-info-read.R:79:3',
    'test-project.R:5:3', 'test-project.R:15:3',
    'test-read-batch-longitudinal.R:8:3', 'test-read-batch-longitudinal.R:45:3',
    'test-read-batch-longitudinal.R:91:3',
    'test-read-batch-longitudinal.R:142:3', 'test-read-batch-plumbing.R:6:3',
    'test-read-batch-plumbing.R:34:3', 'test-read-batch-plumbing.R:62:3',
    'test-read-batch-repeating-sparse.R:7:3',
    'test-read-batch-repeating-sparse.R:18:3',
    'test-read-batch-repeating-sparse.R:44:3',
    'test-read-batch-repeating-sparse.R:71:3',
    'test-read-batch-repeating-sparse.R:98:3', 'test-read-batch-simple.R:9:3',
    'test-read-batch-simple.R:43:3', 'test-read-batch-simple.R:87:3',
    'test-read-batch-simple.R:124:3', 'test-read-batch-simple.R:160:3',
    'test-read-batch-simple.R:187:3', 'test-read-batch-simple.R:214:3',
    'test-read-batch-simple.R:241:3', 'test-read-batch-simple.R:268:3',
    'test-read-batch-simple.R:295:3', 'test-read-batch-simple.R:343:3',
    'test-read-batch-simple.R:391:3', 'test-read-batch-simple.R:439:3',
    'test-read-batch-simple.R:487:3', 'test-read-batch-simple.R:532:3',
    'test-read-batch-simple.R:581:3', 'test-read-batch-simple.R:610:3',
    'test-read-batch-simple.R:638:3', 'test-read-batch-simple.R:686:3',
    'test-read-batch-simple.R:734:3', 'test-read-batch-simple.R:760:3',
    'test-read-batch-simple.R:786:3', 'test-read-batch-simple.R:812:3',
    'test-read-batch-simple.R:838:3', 'test-read-batch-simple.R:864:3',
    'test-read-batch-simple.R:887:3', 'test-read-batch-survey.R:8:3',
    'test-read-batch-survey.R:51:3', 'test-read-clinical-trial.R:7:3',
    'test-read-clinical-trial.R:17:3', 'test-read-dag.R:7:3',
    'test-read-dag.R:17:3', 'test-read-decimal-comma.R:5:3',
    'test-read-decimal-comma.R:35:3', 'test-read-decimal-comma.R:64:3',
    'test-read-decimal-comma.R:92:3', 'test-read-decimal-dot.R:5:3',
    'test-read-decimal-dot.R:33:3', 'test-read-decimal-dot.R:63:3',
    'test-read-eav-oneshot.R:8:3', 'test-read-eav-oneshot.R:20:3',
    'test-read-eav-oneshot.R:47:3', 'test-read-eav-oneshot.R:75:3',
    'test-read-eav-oneshot.R:103:3', 'test-read-eav-oneshot.R:131:3',
    'test-read-eav-oneshot.R:160:3', 'test-read-eav-oneshot.R:188:3',
    'test-read-eav-oneshot.R:217:3', 'test-read-eav-oneshot.R:245:3',
    'test-read-eav-oneshot.R:273:3', 'test-read-eav-oneshot.R:302:3',
    'test-read-eav-oneshot.R:332:3', 'test-read-errors.R:6:3',
    'test-read-errors.R:20:3', 'test-read-errors.R:40:3',
    'test-read-errors.R:53:3', 'test-read-errors.R:67:3',
    'test-read-errors.R:78:3', 'test-read-oneshot-eav.R:7:3',
    'test-read-oneshot-eav.R:19:3', 'test-read-oneshot-eav.R:44:3',
    'test-read-oneshot-eav.R:71:3', 'test-read-oneshot-eav.R:153:3',
    'test-read-oneshot-eav.R:180:3', 'test-read-oneshot-eav.R:207:3',
    'test-read-oneshot-eav.R:237:3', 'test-read-oneshot-eav.R:264:3',
    'test-read-oneshot-eav.R:292:3', 'test-read-oneshot-eav.R:322:3',
    'test-read-oneshot.R:8:3', 'test-read-oneshot.R:20:3',
    'test-read-oneshot.R:45:3', 'test-read-oneshot.R:83:3',
    'test-read-oneshot.R:120:3', 'test-read-oneshot.R:148:3',
    'test-read-oneshot.R:176:3', 'test-read-oneshot.R:204:3',
    'test-read-oneshot.R:232:3', 'test-read-oneshot.R:260:3',
    'test-read-oneshot.R:288:3', 'test-read-oneshot.R:316:3',
    'test-read-oneshot.R:344:3', 'test-read-oneshot.R:372:3',
    'test-read-oneshot.R:400:3', 'test-read-oneshot.R:427:3',
    'test-read-oneshot.R:454:3', 'test-read-oneshot.R:482:3',
    'test-read-oneshot.R:510:3', 'test-read-oneshot.R:538:3',
    'test-read-oneshot.R:566:3', 'test-read-oneshot.R:595:3',
    'test-read-oneshot.R:623:3', 'test-read-oneshot.R:651:3',
    'test-read-oneshot.R:679:3', 'test-read-oneshot.R:708:3',
    'test-read-oneshot.R:731:3', 'test-read-oneshot.R:757:3',
    'test-read-russian.R:6:3', 'test-read-superwide.R:8:3',
    'test-read-superwide.R:18:3', 'test-read-superwide.R:28:3',
    'test-read-superwide.R:39:3', 'test-read-superwide.R:66:3',
    'test-report.R:8:3', 'test-report.R:19:3', 'test-report.R:43:3',
    'test-report.R:76:3', 'test-report.R:101:3', 'test-report.R:126:3',
    'test-report.R:153:3', 'test-retrieve-credential-mssql.R:6:3',
    'test-retrieve-credential-mssql.R:17:3',
    'test-retrieve-credential-mssql.R:29:3',
    'test-retrieve-credential-mssql.R:53:3',
    'test-retrieve-credential-mssql.R:70:3',
    'test-retrieve-credential-mssql.R:87:3',
    'test-retrieve-credential-mssql.R:99:3',
    'test-retrieve-credential-mssql.R:116:3',
    'test-retrieve-credential-mssql.R:133:3',
    'test-retrieve-credential-mssql.R:151:3',
    'test-survey-link-export-oneshot.R:8:3',
    'test-survey-link-export-oneshot.R:24:3',
    'test-survey-link-export-oneshot.R:44:3', 'test-users-export.R:8:3',
    'test-users-export.R:28:3', 'test-users-export.R:58:3',
    'test-users-export.R:88:3', 'test-variables.R:7:3', 'test-variables.R:19:3',
    'test-variables.R:42:3', 'test-variables.R:54:3', 'test-variables.R:81:3',
    'test-version.R:6:3', 'test-version.R:19:3', 'test-version.R:33:3',
    'test-write-batch.R:6:3', 'test-write-batch.R:20:3',
    'test-write-batch.R:111:3', 'test-write-batch.R:169:3',
    'test-write-dag.R:10:3', 'test-write-dag.R:24:3', 'test-write-dag.R:87:3',
    'test-write-dag.R:146:3', 'test-write-error.R:6:3',
    'test-write-error.R:43:3', 'test-write-error.R:70:3',
    'test-write-error.R:97:3', 'test-write-error.R:128:3',
    'test-write-oneshot.R:5:3', 'test-write-oneshot.R:19:3',
    'test-write-oneshot.R:49:3', 'test-write-oneshot.R:108:3',
    'test-write-oneshot.R:163:3', 'test-write-oneshot.R:224:3'
  • Temporarily turning off DAG on experimental function (2):
    'test-read-oneshot-eav.R:97:3', 'test-read-oneshot-eav.R:125:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-write-batch.R:61:3'): 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, verbose = FALSE) at test-write-batch.R:61:3
   2.   └─testthat::expect_true(clear_result, "Clearing the results from the simple project should be successful.")
  
  [ FAIL 1 | WARN 0 | SKIP 253 | PASS 160 ]
  Error: Test failures
  Execution halted