From b224d6fd5039683f270dc337b13b4d10c5592aae Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Wed, 24 Jul 2024 20:44:52 +0200 Subject: [PATCH] deskutils/R-cran-exams: New port: automatic generation of exams Automatic generation of exams based on exercises in Markdown or LaTeX format, possibly including R code for dynamic generation of exercise elements. Exercise types include single-choice and multiple-choice questions, arithmetic problems, string questions, and combinations thereof (cloze). Output formats include standalone files (PDF, HTML, Docx, ODT, ...), Moodle XML, QTI 1.2, QTI 2.1, Blackboard, Canvas, OpenOlat, ILIAS, TestVision, Particify, ARSnova, Kahoot!, Grasple, and TCExam. In addition to fully customizable PDF exams, a standardized PDF format (NOPS) is provided that can be printed, scanned, and automatically evaluated. PR: 268716 --- deskutils/Makefile | 1 + deskutils/R-cran-exams/Makefile | 30 ++++++++++++++++++++++++++++++ deskutils/R-cran-exams/distinfo | 3 +++ deskutils/R-cran-exams/pkg-descr | 11 +++++++++++ 4 files changed, 45 insertions(+) create mode 100644 deskutils/R-cran-exams/Makefile create mode 100644 deskutils/R-cran-exams/distinfo create mode 100644 deskutils/R-cran-exams/pkg-descr diff --git a/deskutils/Makefile b/deskutils/Makefile index 0342145016f2..ae3c94d653b2 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -1,5 +1,6 @@ COMMENT = Things that used to be on the desktop before computers were invented + SUBDIR += R-cran-exams SUBDIR += affiche SUBDIR += akonadi-calendar-tools SUBDIR += akonadi-import-wizard diff --git a/deskutils/R-cran-exams/Makefile b/deskutils/R-cran-exams/Makefile new file mode 100644 index 000000000000..0b194c1bc753 --- /dev/null +++ b/deskutils/R-cran-exams/Makefile @@ -0,0 +1,30 @@ +PORTNAME= exams +DISTVERSION= 2.4-1 +CATEGORIES= deskutils education +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= uzsolt@FreeBSD.org +COMMENT= Automatic generation of exams in R +WWW= https://cran.r-project.org/web/packages/exams/ + +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= multi + +CRAN_DEPENDS= R-cran-base64enc>0:converters/R-cran-base64enc \ + R-cran-knitr>0:print/R-cran-knitr \ + R-cran-magick>0:graphics/R-cran-magick \ + R-cran-openxlsx>0:textproc/R-cran-openxlsx \ + R-cran-png>0:graphics/R-cran-png \ + R-cran-RCurl>0:ftp/R-cran-RCurl \ + R-cran-RJSONIO>0:converters/R-cran-RJSONIO \ + R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \ + R-cran-tinytex>0:print/R-cran-tinytex \ + R-cran-tth>0:textproc/R-cran-tth \ + R-cran-xml2>0:textproc/R-cran-xml2 +BUILD_DEPENDS= ${CRAN_DEPENDS} +RUN_DEPENDS= ${CRAN_DEPENDS} \ + hs-pandoc>0:textproc/hs-pandoc + +USES= cran:auto-plist + +.include diff --git a/deskutils/R-cran-exams/distinfo b/deskutils/R-cran-exams/distinfo new file mode 100644 index 000000000000..2dac1fef03b1 --- /dev/null +++ b/deskutils/R-cran-exams/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721713418 +SHA256 (exams_2.4-1.tar.gz) = 189d154385b2ba68e241def4a9c3bf4195552d03ebc36a531b7dbd3e8590a2d1 +SIZE (exams_2.4-1.tar.gz) = 1828192 diff --git a/deskutils/R-cran-exams/pkg-descr b/deskutils/R-cran-exams/pkg-descr new file mode 100644 index 000000000000..a415727373fe --- /dev/null +++ b/deskutils/R-cran-exams/pkg-descr @@ -0,0 +1,11 @@ +Automatic generation of exams based on exercises in Markdown or LaTeX format, +possibly including R code for dynamic generation of exercise elements. + +Exercise types include single-choice and multiple-choice questions, +arithmetic problems, string questions, and combinations thereof (cloze). + +Output formats include standalone files (PDF, HTML, Docx, ODT, ...), Moodle XML, +QTI 1.2, QTI 2.1, Blackboard, Canvas, OpenOlat, ILIAS, TestVision, Particify, +ARSnova, Kahoot!, Grasple, and TCExam. +In addition to fully customizable PDF exams, a standardized PDF format (NOPS) +is provided that can be printed, scanned, and automatically evaluated.