Running ‘testthat.R’ [4m/11m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(dataquieR)
  > testthat::test_check("dataquieR")
  Error : In suppressWarnings: Metadata do not contain the column KEY_STUDY_SEGMENT.
  > suppressWarnings(dq_report(sd0, md0, cores = 1, label_col = LABEL, 
      dimensions = c("Completeness"), check_table = read.csv(system.file("extdata", 
  
  Error : In suppressWarnings: Missing check_table -- cannot apply contradictions checks w/o contradiction rules
  > suppressWarnings(dq_report(sd0, md0, cores = 1, label_col = LABEL, 
      dimensions = c("Completeness", "Consistency", "Accuracy"), 
  
  Error : In suppressWarnings: Missing check_table -- cannot apply contradictions checks w/o contradiction rules
  > suppressWarnings(dq_report(sd0, md0, resp_vars = "SBP_0", cores = 1, 
      label_col = LABEL, dimensions = c("Completeness", "Consistency", 
  
  list()
  [1] "SEX_0"
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (31)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-acc_multivariate_outlier.R:26:3): acc_multivariate_outlier works with 3 args ──
  Error in `FUN(x, aperm(array(STATS, dims[perm]), order(perm)), ...)`: non-numeric argument to binary operator
  Backtrace:
      █
   1. ├─testthat::expect_warning(...) test-acc_multivariate_outlier.R:26:2
   2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─dataquieR::acc_multivariate_outlier(...)
   7.   └─stats::mahalanobis(...) /data/gannet/ripley/R/packages/tests-clang/dataquieR/R/acc_multivariate_outlier.R:156:2
   8.     └─base::sweep(x, 2L, center)
  ── Error (test-acc_multivariate_outlier.R:82:3): acc_multivariate_outlier works with label_col ──
  Error in `FUN(x, aperm(array(STATS, dims[perm]), order(perm)), ...)`: non-numeric argument to binary operator
  Backtrace:
      █
   1. ├─testthat::expect_warning(...) test-acc_multivariate_outlier.R:82:2
   2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─dataquieR::acc_multivariate_outlier(...)
   7.   └─stats::mahalanobis(...) /data/gannet/ripley/R/packages/tests-clang/dataquieR/R/acc_multivariate_outlier.R:156:2
   8.     └─base::sweep(x, 2L, center)
  
  [ FAIL 2 | WARN 0 | SKIP 31 | PASS 714 ]
  Deleting unused snapshots:
  * acc_distributions/ecdf-plot-for-sbp0-ok.svg
  * acc_end_digits/enddigits-plot-for-crp-0-ok.svg
  * acc_loess/loess-combined-plot-for-crp-0-both-ok.svg
  * acc_loess/loess-combined-plot-for-crp-0-combined-ok.svg
  * acc_loess/loess-combined-plot-for-crp-0-ok.svg
  * acc_loess/loess-combined-plot-for-crp-0-with-covars-ok.svg
  * acc_loess/loess-facets-plot-for-crp-0-both-ok.svg
  * acc_loess/loess-facets-plot-for-crp-0-facets-ok.svg
  * acc_loess/loess-facets-plot-for-crp-0-ok.svg
  * acc_loess/loess-facets-plot-for-crp-0-with-covars-ok.svg
  * acc_loess/loess-plot-for-crp-0-auto1-ok.svg
  * acc_loess/loess-plot-for-crp-0-auto2-ok.svg
  * acc_margins/margins-plot-for-crp-0-ok.svg
  * acc_multivariate_outlier/acc-mv-outliercrp0globheava0.svg
  * acc_shape_or_scale/shape-or-scale-plot-for-crp-0-ok.svg
  * com_item_missingness/item-missingness-plot-with-labels-ok.svg
  * com_item_missingness/item-missingness-plot-without-labels-ok.svg
  * com_segment_missingness/segment-missingness-plot-ok.svg
  * con_contradictions/one-cat-contradiction-plot-ok.svg
  * con_contradictions/summary-contradiction-plot-ok.svg
  * con_limit_deviations/con-limit-deviations-4-hists-1-val.svg
  * con_limit_deviations/con-limit-deviations-for-reverse-order-ok.svg
  * con_limit_deviations/con-limit-deviations-histgrms-misscds.svg
  * con_limit_deviations/con-limit-deviations-quest-dt-0.svg
  * con_limit_deviations/con-limit-deviations-rev-order-w-1-0-max-ok.svg
  * int_datatype_matrix/intdtv10000.svg
  * int_datatype_matrix/intdtv20000.svg
  * int_datatype_matrix/intdtv30000.svg
  * int_datatype_matrix/intdtv40000.svg
  * int_datatype_matrix/intdtv50000.svg
  * int_datatype_matrix/integrity-datatype.svg
  * print/app-ex-repsumtab.svg
  * print/im-empty-repsumtab.svg
  * print/im-ex1-repsumtab.svg
  * print/im-ex2-repsumtab.svg
  * pro_applicability_matrix/appmatrix-plot-for-segment-v10000-ok.svg
  * pro_applicability_matrix/appmatrix-plot-ok.svg
  * util_heatmap_1th/util-heatmap-1th-1.svg
  * util_heatmap_1th/util-heatmap-1th-2.svg
  * util_heatmap_1th/util-heatmap-1th-3.svg
  Error: Test failures
  Execution halted