I have built a learnr tutorial. It resides on Github.
Here is the access:
devtools::install_github("DataScienceProjectsJapan/TidyverseTutorials")
I tried running it in a fresh project in RStudio cloud. When I go to the Tutorials panel, it shows up there but when I try to run it, I get this error message
Quitting from lines 12-18 (tidyTut.Rmd)
Error: package or namespace load failed for 'gradethis':
.onLoad failed in loadNamespace() for 'gradethis', details:
call: (function (exercise.cap = "Code", exercise.eval = FALSE, exercise.timelimit = 30,
error: unused argument (exercise.error.check.code = "gradethis_error_checker()")
Execution halted
The code from lines 11-18 are
```{r setup, include=FALSE}
library(learnr)
library(gradethis)
tutorial_options(exercise.checker = gradethis::grade_learnr)
knitr::opts_chunk$set(echo = FALSE)
library(tidyverse)
library(nycflights13)
I checked my Description file and at the end it does reference gradethis (twice)
Imports:
dplyr,
ggplot2,
gradethis (>= 0.2.3.9001),
learnr,
nycflights13,
plot3D,
tibble
Remotes:
rstudio-education/gradethis
Depends:
tidyverse
Can anyone suggest what is wrong?