R is for
Authoring!!

OOH Session #122…
NCAA tournament
brackets

Open Office Hours
(March 24, 2026)







Reminder – check it out!!

Fantastic resource!!

Recap of Session
#121:

package
citations!!

  1. write_bib() creates .bib file (will overwrite existing)

  2. .packages() is a hidden function that will include all loaded packages within the .bib

---
format: html
bibliography: packages.bib
---

```{r}
knitr::write_bib(c(.packages(), 
      "ggplot2"), "packages.bib")

```
1
should match name YOU provide (line #8 here)
2
.packages(), any non–loaded packages you want to include, & your .bib filename

  1. use cite_r() for auto–population of in–text citations:
We used `r cite_r("packages.bib")`

grateful

pakret

  • appends package cites to first .bib specified in YAML bibliography: field

Today…

NCAA tournament brackets

Session Info (March 24, 2026) Rendering:

R version 4.5.0 (2025-04-11 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 10 x64 (build 19045)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: America/Chicago
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] compiler_4.5.0    fastmap_1.2.0     cli_3.6.5         tools_4.5.0      
 [5] htmltools_0.5.8.1 otel_0.2.0        rstudioapi_0.18.0 yaml_2.3.12      
 [9] rmarkdown_2.30    knitr_1.51        jsonlite_2.0.0    xfun_0.56        
[13] digest_0.6.37     rlang_1.1.7       evaluate_1.0.5