This code is no longer maintained. No guarantees that anything works! File an issue or PR when something is borked.
Packaged up Data Science for Biologists student resources, including shiny applications, learnr modules, and functions for students to download and check their HW.
Install this package with remotes::install_github("sjspielman/ds4b.materials", force = TRUE)
.
The force = TRUE
argument is recommended since this repo is very actively updated on the regular.
This will run a shiny app and/or set or learnr exercises.
launch_app()
without arguments to see available apps to launch.launch_app("name of app to launch")
to launch a specific appThis will download and open a given in-class activity. Function makes assumptions about local directory structure! If activity has been downloaded already, we do not override - simply open the existing.
+ launch_activity()
without arguments to see available activities to launch.
+ launch_activity("name of activity to launch")
to launch a specific activity
This will download and open a given homework. Function makes assumptions about local directory structure! If homework has been downloaded already, we do not override - simply open the existing.
+ launch_homework(the number for which homework to launch)
to launch a given homework. (TBD: The only checkable homeworks are 2 and 4-11.)
This will check whether a given Rmd or R script has errors. It will not comprehensively check for bugs, but it will notify you if there is a CRITICAL bug of some kind that prevents the code from knitting/running.
+ check_homework(the number for which homework to check)
to check a given homework. (TBD: The only checkable homeworks are 2 and 4-11.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.