问题描述
我从exams2openolat()
video tutorial运行以下命令,以使用R /考试进行汇总在线考试
exams2openolat(exm,n = 50,name = "R-exams-openolat",points = 1,maxattempts = 0,cutvalue = 2,solutionswitch = FALSE,duration = 60,shufflesections = TRUE,navigation = "linear",stitle = names(exm),ititle = "Question",adescription = "",sdescription = "")
并得到错误
## Error in rmarkdown::pandoc_convert(input = infile,output = outfile,from = from,:
## unused Arguments (shufflesections = TRUE,navigation = "linear")
当我省略两个参数时,它可以正常工作。在YouTube教程中,该命令还可以使用两个参数。
解决方法
这两个参数已在软件包的版本2.4-0中引入,在撰写本文时仍为开发版本。因此,它尚不能从CRAN中获得,但可以使用
从R-Forge轻松安装。
install.packages("exams",repos = "http://R-Forge.R-project.org")
这一点以及其他一些细节在YouTube教程随附的博客文章中进行了解释:http://www.R-exams.org/tutorials/openolat_exam/