knitr::opts_chunk$set(echo = TRUE)

Recommended setup

This workshop is a combination of presentation, live coding and exercises. If you are attending it as a webinar, having a dual monitor set-up is recommended. This would enable you to follow the live coding, by also typing in the commands and experience the effects you self. Programming is a skill where you learn best by doing.

That being said, as there are also exercises you can also follow using a single monitor.

Install R

Make sure to have R installed on your computer. It is recommended that you have a newer version of R installed, with minimum version of 4.1.0. Download R from the R-project

Windows computers

The tidyverse packages require rtools to be installed. Make sure to have the required version installed before proceeding.

Install RStudio

The best experience with the workshop is to have an RStudio newer than 1.3. It is not necessary, but highly recommended.

RStudio downloads page

Install course materials

This package contains materials that are necessary for the workshop.

You can install tidyquintro from my r-universe, which will also install the packages that the tutorial will cover, with

# Enable repository from drmowinckels
options(repos = c(
  drmowinckels = 'https://drmowinckels.r-universe.dev',
  CRAN = 'https://cloud.r-project.org'))

# Download and install tidyquintro in R
install.packages('tidyquintro')

Loading the package

Loading the package will also load the necessary libraries directly

library(tidyquintro)

Additionally, there are exercises connected to each of the topics which will also be accessible via the learnr-package.

learnr::available_tutorials("tidyquintro")

If install fails

If the above install fails, you can try installing everything individually and then the package from source. Start by installing the dependent packages for the course:

install.packages(c("tidyverse", "palmerpenguins", "learnr", "remotes"))
remotes::install_github("rstudio/gradethis")

When these are successful, you should be able to install the course package.

If you are still struggling to install the package, please create a ticket pasting the command and output you get so I can help you get it sorted.



Athanasiamo/tidyquintro documentation built on Oct. 11, 2022, 7:15 p.m.