This function takes the data frame or tibble that is supposed to contain a valid completed quiz and checks that structure and content are valid

check_quiz(quizdf)

Arguments

quizdf

Data frame of quiz that needs to be checked

Value

An error message if it's not a valid quiz data frame, otherwise NULL