Description
Automatic Generation of Exams in R for 'Sakai'.
Description
Automatic Generation of Exams in R for 'Sakai'. Question templates in the form of the 'exams' package (see <http://www.r-exams.org/>) are transformed into XML format required by 'Sakai'.
README.md
Intro
Automatic Generation of Exams in R for 'Sakai' used by universities. Question templates in the form of the 'exams
' package are transformed into Sakai XML format.
Dependencies:
libxml2
: found on popular Linux distros and in Rtools by defaultpandoc
: gets installed byR
during installationR
: a recent version- popular
R
packages: installed automatically
Installation
From CRAN
install.packages( "exams2sakai" )
or from github package repository:
library(devtools)
install_github( "jesusmmp/exams2sakai" )
Using exams2sakai
function
library( exams2sakai )
myexam <- list( "boxplots", "regression", "scatterplot", "relfreq" )
ex1 <- exams2sakai( myexam, n = 1,
verbose = TRUE,
dir = ".", points = c( 1 ) )
Results a qtisakai.zip
file in work directory ...
Test on Sakai nightly server
- https://trunk-mysql.nightly.sakaiproject.org/portal/ or https://trunk-oracle.nightly.sakaiproject.org/portal/
- User Id: instructor. Password: sakai
- Create a new site
- Click Menu (View All Sites)
- Click "Create New Site"
- Check "course site"
- Click "Continue"
- Check "Discussion 1 SMPL101 Discussion" for example
- Click "Continue"
- Click "Continue" again
- Check "Tests & Quizzes"
- Click "Continue"
- Click "Continue" again
- Click "Create Site"
- Click on your new site: Discussion 1 SMPL101
- Click Tests & Quizzes
- Click "Add" tab
- Click "Import"
- Upload your zip file
- Check if your assessment has been imported successfully
Meta-information
exname: Swiss Capital
extype: schoice
extype: mchoice
extype: num # Only working with one solution
exsingle: TRUE # mcss
exsingle: FALSE # mca
extol: 0.1 # Tolerance for Numeric Response questions
exsolution: 0100001
exshuffle: 5
exextra[randomize]: TRUE # Randomize answers
exextra[hasRationale]: TRUE # Require Rationale