Quarto

Clear Workspace, DON’T EDIT

Always start by clearing the workspace. This ensure objects created in other files are not used used here.

rm(list = ls())

List Used Packages, EDIT

List all the packages that will be used in chunk below.

packages <- c()

Load Packages, DON’T EDIT

Install Missing

Any missing package will be installed automatically. This ensure smoother execution when run by others.

# Do NOT modify
install.packages(setdiff(packages, rownames(installed.packages())))
- There are no packages to install.

Load

Load all packages {-}

# Do NOT modify
lapply(packages, require, character.only = TRUE)
list()

Render & Review

  1. VSCode/RStudio -> Render button
  2. Terminal -> quarto preview
  3. Terminal -> quarto preview help

Render w/o Review

  1. Terminal -> quarto render
  2. Terminal -> quarto render help

Import Content

To import a document to another use the following shortcodes:

<!-- {{< include file.qmd >}} -->

References