The goal of NHSRtraining
is to supplement the NHSR Introduction to R
and R Studio training and
the GitHub repository with
exercises that can be completed as part of the course or
You can install the development version of NHSRtraining from GitHub with:
# install.packages("remotes")
remotes::install_github("nhs-r-community/NHSRtraining")
Currently the {parsons} package is not available on CRAN. This is used to create some of the interactivity of the quiz questions where answers can me moved from one side to another into order. To load this:
# install.packages("remotes")
remotes::install_github("rstudio/parsons")
Unlike with usual packages where library(NHSRtraining)
would be used,
this package uses learnr
so, once the package is installed, the
following code details what is available:
learnr::available_tutorials("NHSRtraining")
and running each tutorial:
learnr::run_tutorial("list-tutorial-name", package = "NHSRtraining")
This package has been greatly inspired in its structure from other “box” training like Penguins in a box (in both English and Spanish) and Data Science in a Box.
Materials used to build the package are from the Forwards workshop: Packages in a nutshell.
If you have any comments or notice any errors, please create an issue.