MyNixOS website logo
Description

Automatic Generation of Exams in R for 'Sakai'.

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'.

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 default
  • pandoc: gets installed by R during installation
  • R: 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

  1. https://trunk-mysql.nightly.sakaiproject.org/portal/ or https://trunk-oracle.nightly.sakaiproject.org/portal/
  2. User Id: instructor. Password: sakai
  3. Create a new site
  4. Click Menu (View All Sites)
  5. Click "Create New Site"
  6. Check "course site"
  7. Click "Continue"
  8. Check "Discussion 1 SMPL101 Discussion" for example
  9. Click "Continue"
  10. Click "Continue" again
  11. Check "Tests & Quizzes"
  12. Click "Continue"
  13. Click "Continue" again
  14. Click "Create Site"
  15. Click on your new site: Discussion 1 SMPL101
  16. Click Tests & Quizzes
  17. Click "Add" tab
  18. Click "Import"
  19. Upload your zip file
  20. 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
Metadata

Version

0.3

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows