About

Authors

Florian Kohrt

Josephine Zerna

Christoph Scheffel


This tutorial was created by Florian Kohrt. It is based on previous work by Josephine Zerna and Christoph Scheffel. Comments on earlier versions were kindly provided by Malika Ihle, Florian Pargent, Jonas Hagenberg, Felix Schönbrodt, and Sarah von Grebmer zu Wolfsthurn.

Utilized Software

This work was completed with the following R packages: datawizard v. 0.12.3 (Patil et al., 2022), grateful v. 0.2.4 (Francisco Rodriguez-Sanchez & Connor P. Jackson, 2023), palmerpenguins v. 0.1.1 (Horst et al., 2020), quarto v. 1.4.4 (Allaire & Dervieux, 2024), renv v. 1.0.7 (Ushey & Wickham, 2024), rmarkdown v. 2.28 (Allaire et al., 2024; Xie et al., 2018, 2020), sessioninfo v. 1.2.2 (Wickham et al., 2021), withr v. 3.0.1 (Hester et al., 2024).

Quarto 1.6.40 was utilized to render the files.

sessioninfo::session_info()
─ Session info ───────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.4.2 (2024-10-31)
 os       Ubuntu 24.04.1 LTS
 system   x86_64, linux-gnu
 ui       X11
 language (EN)
 collate  C.UTF-8
 ctype    C.UTF-8
 tz       UTC
 date     2025-02-18
 pandoc   3.4 @ /opt/quarto/bin/tools/ (via rmarkdown)

─ Packages ───────────────────────────────────────────────────────────────────
 ! package     * version date (UTC) lib source
 P cli           3.6.3   2024-06-21 [?] RSPM (R 4.4.0)
 P digest        0.6.37  2024-08-19 [?] RSPM (R 4.4.0)
 P evaluate      0.24.0  2024-06-10 [?] RSPM (R 4.4.0)
 P fastmap       1.2.0   2024-05-15 [?] RSPM (R 4.4.0)
 P grateful      0.2.4   2023-10-22 [?] RSPM (R 4.4.0)
 P htmltools     0.5.8.1 2024-04-04 [?] RSPM (R 4.4.0)
 P jsonlite      1.8.8   2023-12-04 [?] RSPM (R 4.4.0)
 P knitr         1.48    2024-07-07 [?] RSPM (R 4.4.0)
 P later         1.3.2   2023-12-06 [?] RSPM (R 4.4.0)
 P processx      3.8.4   2024-03-16 [?] RSPM (R 4.4.0)
 P ps            1.7.7   2024-07-02 [?] RSPM (R 4.4.0)
 P quarto        1.4.4   2024-07-20 [?] RSPM (R 4.4.0)
 P Rcpp          1.0.13  2024-07-17 [?] RSPM (R 4.4.0)
   renv          1.0.7   2024-04-11 [1] RSPM (R 4.4.2)
 P rlang         1.1.4   2024-06-04 [?] RSPM (R 4.4.0)
 P rmarkdown     2.28    2024-08-17 [?] RSPM (R 4.4.0)
 P rstudioapi    0.16.0  2024-03-24 [?] RSPM (R 4.4.0)
 P sessioninfo   1.2.2   2021-12-06 [?] RSPM (R 4.4.0)
 P withr         3.0.1   2024-07-31 [?] RSPM (R 4.4.0)
 P xfun          0.47    2024-08-17 [?] RSPM (R 4.4.0)
 P yaml          2.3.10  2024-07-26 [?] RSPM (R 4.4.0)

 [1] /home/runner/work/code-publishing/code-publishing/renv/library/linux-ubuntu-noble/R-4.4/x86_64-pc-linux-gnu
 [2] /home/runner/.cache/R/renv/sandbox/linux-ubuntu-noble/R-4.4/x86_64-pc-linux-gnu/db5e602d

 P ── Loaded and on-disk path mismatch.

──────────────────────────────────────────────────────────────────────────────

License and Disclaimer

None of the discussion in this tutorial constitutes legal advice.

Except where noted otherwise, the narrative text in this tutorial is licensed under CC BY-SA 4.0; the code without any narrative text is also (at your option) available under CC0 1.0.

The files Manuscript.qmd and Bibliography.bib are made available by Josephine Zerna and Christoph Scheffel under CC0 1.0.

The screenshots of the RStudio IDE are Copyright (C) 2024 Posit PBC and are available under the GNU Affero General Public License v3. The source code is available on GitHub.

Funding

This work was partly funded by the Berkeley Initiative for Transparency in the Social Sciences (BITSS), managed by the Center for Effective Global Action (CEGA).

References

Allaire, J., & Dervieux, C. (2024). quarto: R interface to Quarto markdown publishing system. https://github.com/quarto-dev/quarto-r
Allaire, J., Xie, Y., Dervieux, C., McPherson, J., Luraschi, J., Ushey, K., Atkins, A., Wickham, H., Cheng, J., Chang, W., & Iannone, R. (2024). rmarkdown: Dynamic documents for r. https://github.com/rstudio/rmarkdown
Francisco Rodriguez-Sanchez, & Connor P. Jackson. (2023). grateful: Facilitate citation of r packages. https://pakillo.github.io/grateful/
Hester, J., Henry, L., Müller, K., Ushey, K., Wickham, H., & Chang, W. (2024). withr: Run code With temporarily modified global state. https://withr.r-lib.org
Horst, A. M., Hill, A. P., & Gorman, K. B. (2020). palmerpenguins: Palmer archipelago (antarctica) penguin data. https://doi.org/10.5281/zenodo.3960218
Patil, I., Makowski, D., Ben-Shachar, M. S., Wiernik, B. M., Bacher, E., & Lüdecke, D. (2022). datawizard: An R package for easy data preparation and statistical transformations. Journal of Open Source Software, 7(78), 4684. https://doi.org/10.21105/joss.04684
Ushey, K., & Wickham, H. (2024). renv: Project environments. https://rstudio.github.io/renv/
Wickham, H., Chang, W., Flight, R., Müller, K., & Hester, J. (2021). sessioninfo: R session information. https://github.com/r-lib/sessioninfo#readme
Xie, Y., Allaire, J. J., & Grolemund, G. (2018). R markdown: The definitive guide. Chapman; Hall/CRC. https://bookdown.org/yihui/rmarkdown
Xie, Y., Dervieux, C., & Riederer, E. (2020). R markdown cookbook. Chapman; Hall/CRC. https://bookdown.org/yihui/rmarkdown-cookbook