I am trying to publish a learnr tutorial on shinyapps .io
Everything works well if I render on my local machine.
However, on shinyapps it does not load the multiple choice quizzes.
It keeps saying Loading:
I get
The tutorial is here: https://compstat-lmu.shinyapps.io/tutorial-ml-basics/
The entire code is here (main file: tutorial-ml-basics.Rmd
): lecture_i2ml_learnr_tutorials/ml-basics at refactoring-w1920 · slds-lmu/lecture_i2ml_learnr_tutorials · GitHub
The quiz is created as follows:
question("Which statements are true?",
answer("Machine learning is a branch of statistics and computer science.", correct = TRUE),
answer("A model $f$ is a mapping from the feature space to the target space.", correct = TRUE),
answer("The goal of an ML algorithm is to yield a model that reproduces the already seen data as accurately as possible."),
answer("ML algorithms try to predict the target variable as accurately as possible based on the values of the features.", correct = TRUE),
answer("Supervised learning tasks are prediction problems.",
correct = TRUE),
answer("Unsupervised learning tries to discover structure and patterns in
the training data.",
correct = TRUE)
)