dot-cli_groups_and_variable: Locate Condition Messages in an ARD

.cli_groups_and_variableR Documentation

Locate Condition Messages in an ARD

Description

Prints a string of all group##/group##_level column values and variable column values where condition messages occur, formatted using glue syntax.

Usage

.cli_groups_and_variable(x)

Arguments

x

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

Value

a string

Examples

ard <- ard_continuous(
  ADSL,
  by = ARM,
  variables = AGE,
  statistic = ~ list(
    mean = \(x) mean(x),
    mean_warning = \(x) {
      warning("warn1")
      warning("warn2")
      mean(x)
    },
    err_fn = \(x) stop("'tis an error")
  )
)

cards:::.cli_groups_and_variable(ard)

cards documentation built on Oct. 4, 2024, 1:09 a.m.