install.packages("quarto")
install.packages("tinytex")
tinytex::install_tinytex()
quarto::quarto_use_template("OffByOne37/bachelor_template")
click render button in RStudio
or use
quarto::quarto_render(".")
Chapter "03-chapter-2.qmd" contains the following code snippet:
#| tbl-cap: "This is Table 1, which contains the `mtcars` dataset"
library(gt)
mtcars |>
head() |>
gt()
If you need package "gt" it is recommended to install it via the following command:
install.packages("gt")
otherwise you can also delete this code snippet and it won't cause problems when rendering.