Package Reference

Troubleshooting

Note

Q: I see a warning about missing or unexported objects: ‘pak::pkg_diff’ or ‘quarto::quarto_install’. Should I worry?

A: No. This is a harmless warning caused by how these packages export their functions. The mccoursepack package uses fully qualified calls (e.g., pak::pkg_diff()), and as long as you have the pak and quarto packages installed, everything will work as intended. You can safely ignore this warning.

Tip
Load the package each R session:

library(mccoursepack)

This page lists the main functions students will use in this course.
For more detail, see Function Details.


At a Glance

Function What it does
list_courses() Lists installed course IDs (e.g., "mc451", "mc501")
list_weeks(course = NULL) Shows which week folders are available
download_week(course, week, dest = ".") Copies a week’s files into your project
open_week(week, dest = ".") Opens a week folder in your system file browser
mccourse_setup() Installs Quarto, TinyTeX, and core packages if missing
mccourse_self_test() Checks which courses/weeks are available
mccourse_update() Updates the package to the latest GitHub version