Running ‘spelling.R’ [0s/0s]
  Running ‘test-all.R’ [7s/9s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > # Modeled after the R6 testing structure: https://github.com/r-lib/R6/blob/main/tests/testthat.R
  > library(testthat)
  > library(REDCapR)
  > # source("R/helpers-testing.R")
  > 
  > Sys.setenv("redcapr_test_server" = "dev-2")
  > message("Using test server '", Sys.getenv("redcapr_test_server"), "'.")
  Using test server 'dev-2'.
  > testthat::test_check("REDCapR")
  Saving _problems/test-dag-read-3.R
  Saving _problems/test-event-instruments-4.R
  Saving _problems/test-file-oneshot-3.R
  Saving _problems/test-file-repo-list-oneshot-3.R
  Saving _problems/test-instruments-metadata-3.R
  Saving _problems/test-instruments-3.R
  Saving _problems/test-log-read-3.R
  Saving _problems/test-metadata-read-3.R
  Saving _problems/test-metadata-write-3.R
  Saving _problems/test-next-free-record-name-3.R
  Saving _problems/test-project-info-read-3.R
  Saving _problems/test-read-batch-longitudinal-3.R
  Saving _problems/test-read-batch-plumbing-4.R
  Saving _problems/test-read-batch-repeating-sparse-3.R
  Saving _problems/test-read-batch-simple-3.R
  Saving _problems/test-read-batch-survey-3.R
  Saving _problems/test-read-clinical-trial-3.R
  Saving _problems/test-read-dag-3.R
  Saving _problems/test-read-decimal-comma-4.R
  Saving _problems/test-read-eav-oneshot-3.R
  Saving _problems/test-read-errors-3.R
  Saving _problems/test-read-oneshot-eav-3.R
  Saving _problems/test-read-oneshot-3.R
  Saving _problems/test-read-russian-3.R
  Saving _problems/test-read-superwide-3.R
  Saving _problems/test-report-3.R
  Saving _problems/test-survey-link-export-oneshot-3.R
  Saving _problems/test-users-export-3.R
  Saving _problems/test-variables-3.R
  Saving _problems/test-version-3.R
  Saving _problems/test-write-dag-3.R
  Saving _problems/test-write-error-3.R
  [ FAIL 32 | WARN 0 | SKIP 52 | PASS 141 ]
  
  ══ Skipped tests (52) ══════════════════════════════════════════════════════════
  • On CRAN (52): '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-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-read.R:30:3', 'test-event-read.R:57:3',
    'test-event-read.R:84:3', 'test-event-read.R:110:3',
    'test-event-read.R:137:3', 'test-event-read.R:163: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-project.R:5:3',
    'test-project.R:15:3', 'test-read-decimal-dot.R:5:3',
    'test-read-decimal-dot.R:33:3', 'test-read-decimal-dot.R:63: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-write-batch.R:6:3',
    'test-write-batch.R:20:3', 'test-write-batch.R:57:3',
    'test-write-batch.R:111:3', 'test-write-batch.R:169: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'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-dag-read.R:3:1'): (code run outside of `test_that()`) ──────────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-dag-read.R:3:1
  ── Error ('test-event-instruments.R:4:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("longitudinal") at test-event-instruments.R:4:1
  ── Error ('test-file-oneshot.R:3:1'): (code run outside of `test_that()`) ──────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-file-oneshot.R:3:1
  ── Error ('test-file-repo-list-oneshot.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("file-repo") at test-file-repo-list-oneshot.R:3:1
  ── Error ('test-instruments-metadata.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-instruments-metadata.R:3:1
  ── Error ('test-instruments.R:3:1'): (code run outside of `test_that()`) ───────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-instruments.R:3:1
  ── Error ('test-log-read.R:3:1'): (code run outside of `test_that()`) ──────────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-log-read.R:3:1
  ── Error ('test-metadata-read.R:3:1'): (code run outside of `test_that()`) ─────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-metadata-read.R:3:1
  ── Error ('test-metadata-write.R:3:1'): (code run outside of `test_that()`) ────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("metadata-write") at test-metadata-write.R:3:1
  ── Error ('test-next-free-record-name.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-next-free-record-name.R:3:1
  ── Error ('test-project-info-read.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-project-info-read.R:3:1
  ── Error ('test-read-batch-longitudinal.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("longitudinal") at test-read-batch-longitudinal.R:3:1
  ── Error ('test-read-batch-plumbing.R:4:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-read-batch-plumbing.R:4:1
  ── Error ('test-read-batch-repeating-sparse.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("repeating-instruments-sparse") at test-read-batch-repeating-sparse.R:3:1
  ── Error ('test-read-batch-simple.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-read-batch-simple.R:3:1
  ── Error ('test-read-batch-survey.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("survey") at test-read-batch-survey.R:3:1
  ── Error ('test-read-clinical-trial.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("clinical-trial-1") at test-read-clinical-trial.R:3:1
  ── Error ('test-read-dag.R:3:1'): (code run outside of `test_that()`) ──────────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("dag") at test-read-dag.R:3:1
  ── Error ('test-read-decimal-comma.R:4:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("decimal-dot") at test-read-decimal-comma.R:4:1
  ── Error ('test-read-eav-oneshot.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-read-eav-oneshot.R:3:1
  ── Error ('test-read-errors.R:3:1'): (code run outside of `test_that()`) ───────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-read-errors.R:3:1
  ── Error ('test-read-oneshot-eav.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-read-oneshot-eav.R:3:1
  ── Error ('test-read-oneshot.R:3:1'): (code run outside of `test_that()`) ──────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-read-oneshot.R:3:1
  ── Error ('test-read-russian.R:3:1'): (code run outside of `test_that()`) ──────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("russian") at test-read-russian.R:3:1
  ── Error ('test-read-superwide.R:3:1'): (code run outside of `test_that()`) ────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("super-wide-1") at test-read-superwide.R:3:1
  ── Error ('test-report.R:3:1'): (code run outside of `test_that()`) ────────────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-report.R:3:1
  ── Error ('test-survey-link-export-oneshot.R:3:1'): (code run outside of `test_that()`) ──
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("survey") at test-survey-link-export-oneshot.R:3:1
  ── Error ('test-users-export.R:3:1'): (code run outside of `test_that()`) ──────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("dag") at test-users-export.R:3:1
  ── Error ('test-variables.R:3:1'): (code run outside of `test_that()`) ─────────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-variables.R:3:1
  ── Error ('test-version.R:3:1'): (code run outside of `test_that()`) ───────────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-version.R:3:1
  ── Error ('test-write-dag.R:3:1'): (code run outside of `test_that()`) ─────────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing("dag-write", username = "admin") at test-write-dag.R:3:1
  ── Error ('test-write-error.R:3:1'): (code run outside of `test_that()`) ───────
  Error: Package `yaml` must be installed to use this function.
  Backtrace:
      ▆
   1. └─REDCapR:::retrieve_credential_testing() at test-write-error.R:3:1
  
  [ FAIL 32 | WARN 0 | SKIP 52 | PASS 141 ]
  Error:
  ! Test failures.
  Execution halted