Skip to content

Instantly share code, notes, and snippets.

@gadenbuie
Last active August 20, 2022 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gadenbuie/4963396b167d85e4f33e5bccbef061a2 to your computer and use it in GitHub Desktop.
Save gadenbuie/4963396b167d85e4f33e5bccbef061a2 to your computer and use it in GitHub Desktop.
library(tidyverse)
checks <- cchecks::cch_pkgs_history(x = "xaringanthemer", limit = 50)
checks$data$history |>
unnest(checks) |>
filter(status != "OK") |>
mutate(across(date_updated, lubridate::ymd_hms)) |>
arrange(date_updated) |>
mutate(
status = glue::glue("[{status}]({check_url})")
) |>
select(date_updated, status, flavor) |>
pivot_wider(
names_from = flavor,
values_from = status,
values_fill = "OK"
) |>
knitr::kable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment