tests/testthat/_snaps/ard_emmeans_contrast.md

ard_emmeans_contrast() works

Code
  print(ard_emmeans_contrast, columns = "all")
Message
  {cards} data frame: 8 x 10
Output
    group1 variable variable_level   context  stat_name stat_label      stat fmt_fun warning error
  1     am contrast      am0 - am1 emmeans_…   estimate  Mean Dif…      0.61       1              
  2     am contrast      am0 - am1 emmeans_…  std.error  Standard…     0.229       1              
  3     am contrast      am0 - am1 emmeans_…         df  Degrees …       Inf       1              
  4     am contrast      am0 - am1 emmeans_…   conf.low  CI Lower…     0.162       1              
  5     am contrast      am0 - am1 emmeans_…  conf.high  CI Upper…     1.059       1              
  6     am contrast      am0 - am1 emmeans_…    p.value    p-value     0.008       1              
  7     am contrast      am0 - am1 emmeans_… conf.level  CI Confi…      0.95       1              
  8     am contrast      am0 - am1 emmeans_…     method     method Least-sq…    <fn>

ard_emmeans_contrast() errors are returned correctly

Code
  print(ard, columns = "all")
Message
  {cards} data frame: 8 x 10
Output
    group1 variable variable_level   context  stat_name stat_label stat fmt_fun warning     error
  1     am contrast                emmeans_…   estimate  Mean Dif…         <fn>         There wa…
  2     am contrast                emmeans_…  std.error  Standard…         <fn>         There wa…
  3     am contrast                emmeans_…         df  Degrees …         <fn>         There wa…
  4     am contrast                emmeans_…   conf.low  CI Lower…         <fn>         There wa…
  5     am contrast                emmeans_…  conf.high  CI Upper…         <fn>         There wa…
  6     am contrast                emmeans_…    p.value    p-value         <fn>         There wa…
  7     am contrast                emmeans_… conf.level  CI Confi…         <fn>         There wa…
  8     am contrast                emmeans_…     method     method         <fn>         There wa…
"There was an error evaluating the model `glm(formula = vs ~ am + mpg, data = ., family = nothing)`\nCaused by error:\n! object 'nothing' not found"


Try the cardx package in your browser

Any scripts or data that you put into this service are public.

cardx documentation built on Dec. 4, 2025, 9:06 a.m.