Setup

To follow along with the workshop exercises, you’ll need Quarto version 1.8+ and access to a code editor that supports R or Python.

While Quarto itself doesn’t require a programming language, the exercises will include code chunks in R or Python. If you don’t already have R or Python set up locally, we recommend using a cloud-based option like Posit Cloud (for R) or GitHub Codespaces (for Python).

Accessing the Workshop Materials

If you are using a cloud-based option, the files will be included in the project folder.

If you are not using a cloud-based option:

If you use Git/GitHub:

git clone https://github.com/posit-dev/quarto-brand-exercises.git

If you don’t use Git/GitHub:

Install the Necessary Packages

If you are using Posit Cloud, the packages will be pre-installed. If you are using RStudio or Positron locally, install the packages on a Mac by running:

if (!require("pak")) install.packages("pak")
pak::pak(c("tidyverse", "quarto", "patchwork", "posit-dev/brand-yml/pkg-r"))

If you are using Windows, please run the below for the brand.yml package:

install.packages('brand.yml', repos = c('https://posit-dev.r-universe.dev', 'https://cloud.r-project.org'))
  • Create your virtual environment by selecting Python: Create Environment in the Command Palette.
  • Select your environment type (recommend Venv).
  • Choose an interpreter path.
  • Select requirements.txt check box to install dependencies.