exams2openolat:shufflesections 和导航不起作用

exams2openolat: shufflesections and navigation do not work

我 运行 来自 exams2openolat() video tutorial 的以下命令用于使用 R/exams

进行总结性在线考试
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 教程附带的博客 post 中进行了解释:http://www.R-exams.org/tutorials/openolat_exam/