Skip to content
☑️ Can you select the correct package for the named tidyverse function?
HTML R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
images
inst/tutorials/tidy
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE.md
NAMESPACE
README.md
tidyquiz.Rproj

README.md

Tidyverse functions quiz

Very much in development

Answering a question and geting a new one

What?

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.

How to

Available here: https://mattdray.shinyapps.io/tidyquiz/

Or install locally and run it with the following commands:

  1. remotes::install_github("matt-dray/tidyquiz") to install this package
  2. library(tidyquiz) to load the package
  3. learnr::run_tutorial("tidy", package = "tidyquiz") to open in your browser

Notes

Do I have to install loads of packages for this to work?

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"  

What about functions that mask other functions?

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.

You can’t perform that action at this time.