git: 281272b4826e - main - math/R-cran-ankiR: New port: Read and Analyze Anki Flashcard Databases

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 22 Mar 2026 23:07:58 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=281272b4826e61131f15d5a0d3016ae9b30ef7ad

commit 281272b4826e61131f15d5a0d3016ae9b30ef7ad
Author:     Christos Longros <chris.longros@gmail.com>
AuthorDate: 2026-03-22 23:06:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-22 23:07:48 +0000

    math/R-cran-ankiR: New port: Read and Analyze Anki Flashcard Databases
    
    Differential Revision:  https://reviews.freebsd.org/D56036
---
 math/Makefile               |  1 +
 math/R-cran-ankiR/Makefile  | 21 +++++++++++++++++++++
 math/R-cran-ankiR/distinfo  |  3 +++
 math/R-cran-ankiR/pkg-descr |  9 +++++++++
 4 files changed, 34 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 6f065306518c..cbbb2e0cd4b5 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -38,6 +38,7 @@
     SUBDIR += R-cran-acepack
     SUBDIR += R-cran-admisc
     SUBDIR += R-cran-alabama
+    SUBDIR += R-cran-ankiR
     SUBDIR += R-cran-ash
     SUBDIR += R-cran-assertthat
     SUBDIR += R-cran-backports
diff --git a/math/R-cran-ankiR/Makefile b/math/R-cran-ankiR/Makefile
new file mode 100644
index 000000000000..ead4d3aab54a
--- /dev/null
+++ b/math/R-cran-ankiR/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	ankiR
+DISTVERSION=	0.6.0
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	chris.longros@gmail.com
+COMMENT=	Read and Analyze Anki Flashcard Databases
+WWW=		https://github.com/chrislongros/ankiR
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	R-cran-rlang>0:devel/R-cran-rlang \
+		R-cran-jsonlite>0:converters/R-cran-jsonlite \
+		R-cran-DBI>0:databases/R-cran-DBI \
+		R-cran-RSQLite>0:databases/R-cran-RSQLite \
+		R-cran-tibble>0:devel/R-cran-tibble \
+		R-cran-scales>0:graphics/R-cran-scales
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-ankiR/distinfo b/math/R-cran-ankiR/distinfo
new file mode 100644
index 000000000000..2f24df3f63f0
--- /dev/null
+++ b/math/R-cran-ankiR/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774215952
+SHA256 (ankiR_0.6.0.tar.gz) = 608a17370e49a627ecaa01124ba865c91805ea9fe34940bcd2d45131953af2e2
+SIZE (ankiR_0.6.0.tar.gz) = 1068374
diff --git a/math/R-cran-ankiR/pkg-descr b/math/R-cran-ankiR/pkg-descr
new file mode 100644
index 000000000000..dbc0d99319fe
--- /dev/null
+++ b/math/R-cran-ankiR/pkg-descr
@@ -0,0 +1,9 @@
+Comprehensive toolkit for reading and analyzing Anki flashcard
+collection databases. Provides functions to access notes, cards,
+decks, note types, and review logs with a tidy interface. Features
+extensive analytics including retention rates, learning curves,
+forgetting curve fitting, and review patterns. Supports FSRS (Free
+Spaced Repetition Scheduler) analysis with stability, difficulty,
+retrievability metrics, parameter comparison, and workload predictions.
+
+-- Christos Longros <chris.longros@gmail.com>