Automatic Generation of Exams in R