- Taught by Kieran Healy, Duke University
- Fall 2023
This is the source code for the course website at https://mptc.io
The site is a Quarto project. It uses {{renv}} to manage dependencies and {{targets}} to manage the site building.
To build the site from scratch, first you have to create the universe
open the project in RStudio by clicking on mptc.Rproj
.
- If it’s not installed already, R should try to install the {renv} package when you open the RStudio Project for the first time.
- If you don’t see a message about package installation, install it yourself by running install.packages(“renv”) at the R console.
- Run renv::restore() in the R console to install all the required packages for this project.
- Run targets::tar_make() in the R console to build everything.
Here is the dependency graph for the site build.
graph LR
subgraph Graph
direction LR
x9c20b8c56debbe9a(["deploy_script"]):::built --> x78f3e0b711425f1c(["deploy_site"]):::queued
x7aa56383a054e8ba(["site"]):::queued --> x78f3e0b711425f1c(["deploy_site"]):::queued
x4d31f5a49d5ae49f(["schedule_ical_file"]):::queued --> x7aa56383a054e8ba(["site"]):::queued
x063edd335cc1b36f(["schedule_page_data"]):::queued --> x7aa56383a054e8ba(["site"]):::queued
xf38d3f5e6365ad72(["workflow_graph"]):::started --> x6e52cb0f1668cc22(["readme"]):::queued
xdf832f8e1f99baf2(["schedule_file"]):::queued --> x063edd335cc1b36f(["schedule_page_data"]):::queued
xdf832f8e1f99baf2(["schedule_file"]):::queued --> x35552a73efe9c59f(["schedule_ical_data"]):::queued
x35552a73efe9c59f(["schedule_ical_data"]):::queued --> x4d31f5a49d5ae49f(["schedule_ical_file"]):::queued
end