powered by
Function tests the structure and returns notes when object does not conform to expected structure.
check_ard_structure(x, column_order = TRUE, method = TRUE)
an ARD data frame of class 'card' (invisible)
(data.frame) an ARD data frame of class 'card'
data.frame
(scalar logical) check whether ordering of columns adheres to to cards::tidy_ard_column_order().
logical
cards::tidy_ard_column_order()
(scalar logical) check whether a "stat_name" equal to "method" appears in results.
"stat_name"
"method"
ard_continuous(ADSL, variables = "AGE") |> dplyr::select(-warning, -error) |> check_ard_structure()
Run the code above in your browser using DataLab