Learn R Programming

coreval (version 0.1.0)

summary.coreval_result: Summarize a check result in a few lines

Description

The short form of print.coreval_result(), for when you have run a check inside a script, or just want to know whether the last fix helped.

Usage

# S3 method for coreval_result
summary(object, ...)

Value

A one-row data.table::data.table(), invisibly, with the counts it printed - so it can be logged or compared.

Arguments

object

A result from check_dataset() or check_study().

...

Ignored.

Examples

Run this code
ae <- data.frame(
  STUDYID = "S1", DOMAIN = "AE", USUBJID = c("01", "01"),
  AESEQ = c(1, 2), AETERM = c("Headache", "Rash"),
  AESTDTC = c("2024-01-10", "2024-02-30")
)
summary(check_dataset(ae))

Run the code above in your browser using DataLab