daroczig / logger

A lightweight, modern and flexible, log4j and futile.logger inspired logging utility for R
https://daroczig.github.io/logger
283 stars 41 forks source link

`use_tidy_github_actions()` #171

Closed hadley closed 1 month ago

hadley commented 1 month ago

Use the latest versions of r-lib actions, and flesh out a more complete R version matrix.

hadley commented 1 month ago

@daroczig I can't figure out why this is failing on mac. The error occurs in this block:

log_formatter(formatter_pander)
log_info(head(iris))

And it seems like it's because it's using formatter_glue instead of formatter_pander, but I don't understand why, and I can't reproduce locally.

hadley commented 1 month ago

I figured it out! I'm not sure why it only failed on mac, but the problem was that the loggers from previously rendered vignettes were still active, so once I implemented a more thorough reset, the problem went away 🥳