Skip to content

Instantly share code, notes, and snippets.

View msberends's full-sized avatar
👋

Matthijs Berends msberends

👋
View GitHub Profile
@debruine
debruine / tables_demo.qmd
Last active September 17, 2024 01:49
Testing methods for df_print-like custom table printing in quarto
---
title: "Table printing demo"
author: "Lisa DeBruine"
toc: true
toc_float: true
---
## Code
These functions should override `knitr::knit_print()` for data frames, but wasn't working at all until I learned in [the knit_print vignette](https://cran.r-project.org/web/packages/knitr/vignettes/knit_print.html) that you have to use `registerS3method()`.