Garrick Aden-Buie
Online workshop at R/Medicine 2024
Tuesday, June 11, 2024
11:00am to 2:00pm
📘 Website
There are three main directories in this repository:
-
📁
exercises/
contains starter code and example solutions for each exerciseexercises/01_app.R
- The starter code for the first exerciseexercises/01_solution_app.R
- An example solution for the first exercise
-
📁
examples/
contains demo apps used in the workshop -
📁
website/
contains the website materials and slides
If you prefer to use your own computer, you can clone the repository and install the necessary packages. I used R 4.4 but any recent version of R (>= 4.1) should work.
You can use the usethis package to quickly clone the repository:
usethis::create_from_github(
"gadenbuie/rmedicine-2024-bslib",
# Decide where to put the project here:
destdir = "~/Desktop/rmedicine-2024-bslib"
)
This will download the repository and open the project in RStudio.
Inside the project, use the renv
package to install the necessary packages:
renv::restore()
For very speedy installation, I recommend telling renv to use pak to install packages:
Sys.setenv(RENV_CONFIG_PAK_ENABLED = "true")
renv::restore()