Running ‘testthat.R’ [166s/190s]
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"
  [ FAIL 4 | WARN 0 | SKIP 31 | PASS 710 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (31)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-con_limit_deviations.R:7:3): con_limit_deviations works ─────────
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = 0)
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-con_limit_deviations.R:7:2
   2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─dataquieR::con_limit_deviations(...)
   7.   └─base::lapply(...) at dataquieR/R/con_limit_deviations.R:164:2
   8.     ├─base (local) FUN(X[[i]], ...)
   9.     └─base::as.POSIXct.default(X[[i]], ...)
  ── Error (test-con_limit_deviations.R:57:3): con_limit_deviations and timevars with < 20 integer sec-values ok ──
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = 0)
  Backtrace:
      ▆
   1. └─dataquieR::con_limit_deviations(...) at test-con_limit_deviations.R:57:2
   2.   └─base::lapply(...) at dataquieR/R/con_limit_deviations.R:233:2
   3.     └─dataquieR (local) FUN(X[[i]], ...)
   4.       ├─base::as.POSIXct(...) at dataquieR/R/con_limit_deviations.R:457:8
   5.       └─base::as.POSIXct.default(...)
  ── Error (test-con_limit_deviations.R:99:3): con_limit_deviations works w/o resp_vars ──
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = 0)
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-con_limit_deviations.R:99:2
   2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─dataquieR::con_limit_deviations(...)
   7.   └─base::lapply(...) at dataquieR/R/con_limit_deviations.R:164:2
   8.     ├─base (local) FUN(X[[i]], ...)
   9.     └─base::as.POSIXct.default(X[[i]], ...)
  ── Error (test-con_limit_deviations.R:186:3): con_limit_deviations handles errors ──
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = 0)
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-con_limit_deviations.R:186:2
   2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─dataquieR::con_limit_deviations(...)
   7.   └─base::lapply(...) at dataquieR/R/con_limit_deviations.R:164:2
   8.     ├─base (local) FUN(X[[i]], ...)
   9.     └─base::as.POSIXct.default(X[[i]], ...)
  
  [ FAIL 4 | WARN 0 | SKIP 31 | PASS 710 ]
  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