Running 'testthat.R' [236s]
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", 
  
  list()
  [1] "SEX_0"
  [ FAIL 1 | WARN 0 | SKIP 32 | PASS 721 ]
  
  == Skipped tests ===============================================================
  * On CRAN (32)
  
  == Failed tests ================================================================
  -- Error (test-dq_report.R:195:3): dq_report works -----------------------------
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11977 cannot be opened
  Backtrace:
      x
   1. +-base::suppressWarnings(...) at test-dq_report.R:195:2
   2. | \-base::withCallingHandlers(...)
   3. \-dataquieR::dq_report(...)
   4.   +-base::suppressMessages(...) at dataquieR/R/dq_report.R:214:8
   5.   | \-base::withCallingHandlers(...)
   6.   \-parallelMap::parallelStart(...) at dataquieR/R/dq_report.R:214:8
   7.     \-parallel::makePSOCKcluster(names = names, ...)
   8.       \-base::serverSocket(port = port)
  
  [ FAIL 1 | WARN 0 | SKIP 32 | PASS 721 ]
  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