Learn R Programming

cards (version 0.3.0)

.cli_condition_messaging: Print Condition Messages Saved in an ARD

Description

Print Condition Messages Saved in an ARD

Usage

.cli_condition_messaging(x, msg_type)

Value

returns invisible if check is successful, throws warning/error messages if not.

Arguments

x

(data.frame)
an ARD data frame of class 'card'

msg_type

(string)
message type. Options are "warning" and "error".

Examples

Run this code
ard <- ard_continuous(
  ADSL,
  by = ARM,
  variables = AGE
)

cards:::.cli_condition_messaging(ard, msg_type = "error")

Run the code above in your browser using DataLab