pcctc/affirm

`affirm_report_gt()` in .qmd Listing Download shows CSV twice

Opened this issue · 0 comments

using affirm dev version 0.2.0.9001 from main

library(affirm)
affirm_init(replace = TRUE)
mtcars |>
  affirm_true(
    label = "MPG should be less than 33",
    condition = mpg < 33,
    id = 2,
    data_frames = "mtcars"
  ) |> 
  invisible()

affirm_report_gt()

when this code is run interactively, this results in the Viewer

image

however, when in an rendered .qmd, this results in the .html

image