Forum: support
Monitor Forum | | RE: canvas import [ Reply ] By: Achim Zeileis on 2026-03-07 00:59 | [forum:50159] |
|
Hmm, I cannot replicate this. I used your example and did: library("exams") exams2canvas("asnpis.Rmd", name = "asnpis", duration = 30, maxattempts = 2, solutionswitch = FALSE, quiztype = "practice_quiz") I then imported the resulting asnpis.zip file in the Instructure Canvas instance (https://canvas.instructure.com/) as a QTI .zip file. This worked without problem and also the duration and maxattempts seemed to have been recognized correctly. |
|
| canvas import [ Reply ] By: Filipe Alberto on 2026-03-06 22:14 | [forum:50158] |
|
I have been experiencing this issue when importing to Canvas "The importer couldn't determine the correct answers for this question." Here is my code and below it an example of one of the Rmd files. Classquiz2.RMDs<-c("./chapter_4/asnpis.Rmd", "./chapter_4/ldoccurs.Rmd", "./chapter_4/mutationrandom.Rmd", "./chapter_4/nonsyn.Rmd", "./chapter_4/fishpop.Rmd", "./chapter_4/sexrepro.Rmd", "./chapter_4/allgenvar.Rmd", "./chapter_4/somaticmut.Rmd", "./chapter_4/linkageDcalculation.Rmd")#, # "./chapter_4/geneticcode.Rmd") exams2canvas(Classquiz2.RMDs,dir = "./Canvas", name = "in_classQ2.pract", duration=30,maxattempts=2,solutionswitch=F,quiztype="practice_quiz") #The first Rmd question file looks like this (nor problem having these render to nops for example): Question ======== A SNP is Answerlist ---------- * a kind of mutation. * a DNA base that is variable in a population. * a phenotypic trait. * an haplotype Solution ======== Answerlist ---------- * False * True * False * False Meta-information ================ exname: asnpis extype: schoice exsolution: 0100 exshuffle: 4 |
|

