Very much in development
Can you match the tidyverse function to the package name? A multiple choice quiz.
A silly thing made with the {learnr} package, the tidyverse and {pacman}, inspired by frustrations of Ryan Timpe, Daniel McNichol, and others I'm sure.
Available here: https://mattdray.shinyapps.io/tidyquiz/
Or install locally and run it with the following commands:
remotes::install_github("matt-dray/tidyquiz")
to install this packagelibrary(tidyquiz)
to load the packagelearnr::run_tutorial("tidy", package = "tidyquiz")
to open in your browser
Yes, if installing locally. This thing works on the fly. It fetches the tidyverse packages and creates questions and answers whenever you run generate_quiz()
. This means you should be prepared for all the tidyverse packages to be downloaded to your machine. On the plus side, functions presented to you in the quiz will always be current.
The list of packages can be found in tidyverse::tidyverse_packages()
. At time of writing (2019-03-17) the packages are:
"broom" "cli" "crayon" "dplyr" "dbplyr" "forcats"
"ggplot2" "haven" "hms" "httr" "jsonlite" "lubridate"
"magrittr" "modelr" "purrr" "readr" "readxl" "reprex"
"rlang" "rstudioapi" "rvest" "stringr" "tibble" "tidyr"
"xml2" "tidyverse"
There's only ever one correct answer from the four presented. If you are presented with a function that exists in multiple packages, the answer set will include one package it definitely exists in and three it definitely doesn't exist in.