Running examples in ‘dataquieR-Ex.R’ failed
The error most likely occurred in:

> ### Name: con_contradictions
> ### Title: Checks user-defined contradictions in study data
> ### Aliases: con_contradictions
> 
> ### ** Examples
> 
> load(system.file("extdata", "meta_data.RData", package = "dataquieR"))
> load(system.file("extdata", "study_data.RData", package = "dataquieR"))
> check_table <- read.csv(system.file("extdata",
+   "contradiction_checks.csv",
+   package = "dataquieR"
+ ),
+ header = TRUE, sep = "#"
+ )
> check_table[1, "tag"] <- "Logical"
> check_table[1, "Label"] <- "Becomes younger"
> check_table[2, "tag"] <- "Empirical"
> check_table[2, "Label"] <- "sex transformation"
> check_table[3, "tag"] <- "Empirical"
> check_table[3, "Label"] <- "looses academic degree"
> check_table[4, "tag"] <- "Logical"
> check_table[4, "Label"] <- "vegetarian eats meat"
> check_table[5, "tag"] <- "Logical"
> check_table[5, "Label"] <- "vegan eats meat"
> check_table[6, "tag"] <- "Empirical"
> check_table[6, "Label"] <- "non-veg* eats meat"
> check_table[7, "tag"] <- "Empirical"
> check_table[7, "Label"] <- "Non-smoker buys cigarettes"
> check_table[8, "tag"] <- "Empirical"
> check_table[8, "Label"] <- "Smoker always scrounges"
> check_table[9, "tag"] <- "Logical"
> check_table[9, "Label"] <- "Cuff didn't fit arm"
> check_table[10, "tag"] <- "Empirical"
> check_table[10, "Label"] <- "Very mature pregnant woman"
> label_col <- "LABEL"
> threshold_value <- 1
> con_contradictions(
+   study_data = study_data, meta_data = meta_data, label_col = label_col,
+   threshold_value = threshold_value, check_table = check_table
+ )
Labels of variables from “LABEL” will be used. In this case columns A and B in check_tables must refer to labels.
Warning: In con_contradictions: All variables with CONTRADICTIONS in the metadata are used.
> con_contradictions(study_data = study_data, meta_data = meta_data, 
    label_col = label_col, threshold_value = threshold_value, 

Error in Summary.POSIXct(c(1514764800, 1514764800, 1514775286.69557, NA,  : 
  'sum' not defined for "POSIXt" objects
Calls: con_contradictions -> Summary.POSIXct
Execution halted