Running ‘testthat.R’ [118s/170s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(dataquieR)
  > testthat::test_check("dataquieR")
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  Error in loadNamespace(x) : there is no package called 'lme4'
  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"), 
  
  list()
  [1] "SEX_0"
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (26)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-acc_varcomp.R:48:3): acc_varcomp works without label_col ──────
  suppressWarnings(...) is not strictly less than 0.1. Difference: 1.02
  ── Failure (test-acc_varcomp.R:54:3): acc_varcomp works without label_col ──────
  res1$ScalarValue_max_icc not equal to 0.096.
  1/1 mismatches
  [1] -Inf - 0.096 == -Inf
  ── Failure (test-acc_varcomp.R:55:3): acc_varcomp works without label_col ──────
  res1$ScalarValue_argmax_icc not equal to "SBP_0".
  Lengths differ: 0 is not 1
  ── Failure (test-acc_varcomp.R:103:3): acc_varcomp works with label_col ────────
  res1$ScalarValue_max_icc not equal to 0.021.
  1/1 mismatches
  [1] -Inf - 0.021 == -Inf
  ── Failure (test-acc_varcomp.R:104:3): acc_varcomp works with label_col ────────
  res1$ScalarValue_argmax_icc not equal to "v00014".
  Lengths differ: 0 is not 1
  ── Failure (test-acc_varcomp.R:140:3): acc_varcomp works illegal min_obs_in_subgroup/min_subgroups ──
  suppressWarnings(...) is not strictly less than 0.1. Difference: 1.02
  ── Failure (test-acc_varcomp.R:146:3): acc_varcomp works illegal min_obs_in_subgroup/min_subgroups ──
  res1$ScalarValue_max_icc not equal to 0.096.
  1/1 mismatches
  [1] -Inf - 0.096 == -Inf
  ── Failure (test-acc_varcomp.R:147:3): acc_varcomp works illegal min_obs_in_subgroup/min_subgroups ──
  res1$ScalarValue_argmax_icc not equal to "SBP_0".
  Lengths differ: 0 is not 1
  ── Failure (test-acc_varcomp.R:184:3): acc_varcomp works without resp_vars ─────
  res1$ScalarValue_max_icc not equal to 0.021.
  1/1 mismatches
  [1] -Inf - 0.021 == -Inf
  ── Failure (test-acc_varcomp.R:185:3): acc_varcomp works without resp_vars ─────
  res1$ScalarValue_argmax_icc not equal to "v00014".
  Lengths differ: 0 is not 1
  ── Failure (test-dq_report.R:39:3): dq_report works ────────────────────────────
  `summary(report)` produced warnings.
  
  [ FAIL 11 | WARN 1 | SKIP 26 | PASS 643 ]
  Error: Test failures
  Execution halted