git: f84396026a25 - main - math/Makefile, math/R-cran-*: adding several libraries recommended with RKWard

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 06 May 2022 15:32:52 UTC
The branch main has been updated by thierry:

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

commit f84396026a253294991149930618689278737339
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-05-06 14:49:31 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-05-06 15:32:19 +0000

    math/Makefile, math/R-cran-*: adding several libraries recommended with RKWard
---
 math/Makefile                        | 14 +++++-
 math/R-cran-FNN/Makefile             | 15 ++++++
 math/R-cran-FNN/distinfo             |  3 ++
 math/R-cran-FNN/pkg-descr            |  5 ++
 math/R-cran-FNN/pkg-plist            | 21 ++++++++
 math/R-cran-ash/Makefile             | 15 ++++++
 math/R-cran-ash/distinfo             |  3 ++
 math/R-cran-ash/pkg-descr            |  3 ++
 math/R-cran-ash/pkg-plist            | 20 ++++++++
 math/R-cran-eRm/Makefile             | 18 +++++++
 math/R-cran-eRm/distinfo             |  3 ++
 math/R-cran-eRm/pkg-descr            | 10 ++++
 math/R-cran-eRm/pkg-plist            | 33 ++++++++++++
 math/R-cran-exactRankTests/Makefile  | 15 ++++++
 math/R-cran-exactRankTests/distinfo  |  3 ++
 math/R-cran-exactRankTests/pkg-descr |  4 ++
 math/R-cran-exactRankTests/pkg-plist | 39 +++++++++++++++
 math/R-cran-hdrcde/Makefile          | 21 ++++++++
 math/R-cran-hdrcde/distinfo          |  3 ++
 math/R-cran-hdrcde/pkg-descr         |  6 +++
 math/R-cran-hdrcde/pkg-plist         | 26 ++++++++++
 math/R-cran-locfit/Makefile          | 15 ++++++
 math/R-cran-locfit/distinfo          |  3 ++
 math/R-cran-locfit/pkg-descr         |  4 ++
 math/R-cran-locfit/pkg-plist         | 48 ++++++++++++++++++
 math/R-cran-mclust/Makefile          | 15 ++++++
 math/R-cran-mclust/distinfo          |  3 ++
 math/R-cran-mclust/pkg-descr         | 10 ++++
 math/R-cran-mclust/pkg-plist         | 32 ++++++++++++
 math/R-cran-misc3d/Makefile          | 15 ++++++
 math/R-cran-misc3d/distinfo          |  3 ++
 math/R-cran-misc3d/pkg-descr         |  4 ++
 math/R-cran-misc3d/pkg-plist         | 25 ++++++++++
 math/R-cran-moments/Makefile         | 15 ++++++
 math/R-cran-moments/distinfo         |  3 ++
 math/R-cran-moments/pkg-descr        |  4 ++
 math/R-cran-moments/pkg-plist        | 19 +++++++
 math/R-cran-plot3D/Makefile          | 17 +++++++
 math/R-cran-plot3D/distinfo          |  3 ++
 math/R-cran-plot3D/pkg-descr         |  4 ++
 math/R-cran-plot3D/pkg-plist         | 31 ++++++++++++
 math/R-cran-pracma/Makefile          | 15 ++++++
 math/R-cran-pracma/distinfo          |  3 ++
 math/R-cran-pracma/pkg-descr         |  6 +++
 math/R-cran-pracma/pkg-plist         | 97 ++++++++++++++++++++++++++++++++++++
 math/R-cran-pwr/Makefile             | 15 ++++++
 math/R-cran-pwr/distinfo             |  3 ++
 math/R-cran-pwr/pkg-descr            |  4 ++
 math/R-cran-pwr/pkg-plist            | 25 ++++++++++
 49 files changed, 720 insertions(+), 1 deletion(-)

diff --git a/math/Makefile b/math/Makefile
index 294586fbb2b7..936e02e4b73b 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -13,6 +13,7 @@
     SUBDIR += R-cran-DEoptimR
     SUBDIR += R-cran-DRR
     SUBDIR += R-cran-DoE.base
+    SUBDIR += R-cran-FNN
     SUBDIR += R-cran-Formula
     SUBDIR += R-cran-FrF2
     SUBDIR += R-cran-KFAS
@@ -38,6 +39,7 @@
     SUBDIR += R-cran-acepack
     SUBDIR += R-cran-admisc
     SUBDIR += R-cran-alabama
+    SUBDIR += R-cran-ash
     SUBDIR += R-cran-assertthat
     SUBDIR += R-cran-backports
     SUBDIR += R-cran-bdsmatrix
@@ -54,6 +56,8 @@
     SUBDIR += R-cran-dlmodeler
     SUBDIR += R-cran-dplyr
     SUBDIR += R-cran-energy
+    SUBDIR += R-cran-eRm
+    SUBDIR += R-cran-exactRankTests
     SUBDIR += R-cran-expm
     SUBDIR += R-cran-forcats
     SUBDIR += R-cran-forecast
@@ -67,6 +71,7 @@
     SUBDIR += R-cran-gss
     SUBDIR += R-cran-gtable
     SUBDIR += R-cran-haven
+    SUBDIR += R-cran-hdrcde
     SUBDIR += R-cran-hexbin
     SUBDIR += R-cran-igraph
     SUBDIR += R-cran-influenceR
@@ -80,32 +85,39 @@
     SUBDIR += R-cran-lazyeval
     SUBDIR += R-cran-linprog
     SUBDIR += R-cran-lme4
+    SUBDIR += R-cran-locfit
     SUBDIR += R-cran-lpSolve
     SUBDIR += R-cran-ltm
     SUBDIR += R-cran-magic
     SUBDIR += R-cran-maps
     SUBDIR += R-cran-matrixStats
     SUBDIR += R-cran-maxLik
+    SUBDIR += R-cran-mclust
     SUBDIR += R-cran-mcmc
     SUBDIR += R-cran-memisc
     SUBDIR += R-cran-minqa
+    SUBDIR += R-cran-misc3d
     SUBDIR += R-cran-miscTools
     SUBDIR += R-cran-mitools
+    SUBDIR += R-cran-moments
     SUBDIR += R-cran-mvtnorm
     SUBDIR += R-cran-nloptr
     SUBDIR += R-cran-nnls
     SUBDIR += R-cran-nortest
-    SUBDIR += R-cran-numDeriv
     SUBDIR += R-cran-numbers
+    SUBDIR += R-cran-numDeriv
     SUBDIR += R-cran-outliers
     SUBDIR += R-cran-partitions
     SUBDIR += R-cran-pbkrtest
+    SUBDIR += R-cran-plot3D
     SUBDIR += R-cran-pls
     SUBDIR += R-cran-polycor
     SUBDIR += R-cran-polynom
+    SUBDIR += R-cran-pracma
     SUBDIR += R-cran-prodlim
     SUBDIR += R-cran-proxy
     SUBDIR += R-cran-psych
+    SUBDIR += R-cran-pwr
     SUBDIR += R-cran-quadprog
     SUBDIR += R-cran-qualityTools
     SUBDIR += R-cran-quantreg
diff --git a/math/R-cran-FNN/Makefile b/math/R-cran-FNN/Makefile
new file mode 100644
index 000000000000..59f31836a052
--- /dev/null
+++ b/math/R-cran-FNN/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	FNN
+PORTVERSION=	1.1.3
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Fast Nearest Neighbor Search Algorithms and Applications
+
+LICENSE=	GPLv2+
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-FNN/distinfo b/math/R-cran-FNN/distinfo
new file mode 100644
index 000000000000..93359f85c0da
--- /dev/null
+++ b/math/R-cran-FNN/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651755457
+SHA256 (FNN_1.1.3.tar.gz) = de763a25c9cfbd19d144586b9ed158135ec49cf7b812938954be54eb2dc59432
+SIZE (FNN_1.1.3.tar.gz) = 78492
diff --git a/math/R-cran-FNN/pkg-descr b/math/R-cran-FNN/pkg-descr
new file mode 100644
index 000000000000..8266c40e0316
--- /dev/null
+++ b/math/R-cran-FNN/pkg-descr
@@ -0,0 +1,5 @@
+Cover-tree and kd-tree fast k-nearest neighbor search algorithms and related
+applications including KNN classification, regression and information measures
+are implemented.
+
+WWW: https://cran.r-project.org/package=FNN
diff --git a/math/R-cran-FNN/pkg-plist b/math/R-cran-FNN/pkg-plist
new file mode 100644
index 000000000000..ae5af6cc28b0
--- /dev/null
+++ b/math/R-cran-FNN/pkg-plist
@@ -0,0 +1,21 @@
+%%R_MOD_DIR%%/COPYRIGHTS
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/R/FNN
+%%R_MOD_DIR%%/R/FNN.rdb
+%%R_MOD_DIR%%/R/FNN.rdx
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/FNN.rdb
+%%R_MOD_DIR%%/help/FNN.rdx
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/FNN.so
diff --git a/math/R-cran-ash/Makefile b/math/R-cran-ash/Makefile
new file mode 100644
index 000000000000..43758e160268
--- /dev/null
+++ b/math/R-cran-ash/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	ash
+DISTVERSION=	1.0-15
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	David Scott's ASH Routines
+
+LICENSE=	GPLv2+
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-ash/distinfo b/math/R-cran-ash/distinfo
new file mode 100644
index 000000000000..3295d85d74a4
--- /dev/null
+++ b/math/R-cran-ash/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651780602
+SHA256 (ash_1.0-15.tar.gz) = 8b0a7bc39dd0ce2172f09edc5b5e029347d041a4d508bbff3f3fd6f69450c2ab
+SIZE (ash_1.0-15.tar.gz) = 7043
diff --git a/math/R-cran-ash/pkg-descr b/math/R-cran-ash/pkg-descr
new file mode 100644
index 000000000000..ed2d8124dc27
--- /dev/null
+++ b/math/R-cran-ash/pkg-descr
@@ -0,0 +1,3 @@
+David Scott's ASH routines ported from S-PLUS to R.
+
+WWW: https://cran.r-project.org/package=ash
diff --git a/math/R-cran-ash/pkg-plist b/math/R-cran-ash/pkg-plist
new file mode 100644
index 000000000000..459d292acf24
--- /dev/null
+++ b/math/R-cran-ash/pkg-plist
@@ -0,0 +1,20 @@
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/R/ash
+%%R_MOD_DIR%%/R/ash.rdb
+%%R_MOD_DIR%%/R/ash.rdx
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/ash.rdb
+%%R_MOD_DIR%%/help/ash.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/ash.so
diff --git a/math/R-cran-eRm/Makefile b/math/R-cran-eRm/Makefile
new file mode 100644
index 000000000000..0004f2a5e3fa
--- /dev/null
+++ b/math/R-cran-eRm/Makefile
@@ -0,0 +1,18 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	eRm
+DISTVERSION=	1.0-2
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Extended Rasch Modeling
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	R-cran-psych>0:math/R-cran-psych	\
+		R-cran-colorspace>0:graphics/R-cran-colorspace
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-eRm/distinfo b/math/R-cran-eRm/distinfo
new file mode 100644
index 000000000000..549e726b4478
--- /dev/null
+++ b/math/R-cran-eRm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651830641
+SHA256 (eRm_1.0-2.tar.gz) = 93d61dd85384350380cc3b9312430fb29b4077e8236390fa2e8ceb0902a8be6a
+SIZE (eRm_1.0-2.tar.gz) = 988133
diff --git a/math/R-cran-eRm/pkg-descr b/math/R-cran-eRm/pkg-descr
new file mode 100644
index 000000000000..6a1d7eeee0d3
--- /dev/null
+++ b/math/R-cran-eRm/pkg-descr
@@ -0,0 +1,10 @@
+Fits Rasch models (RM), linear logistic test models (LLTM), rating scale model
+(RSM), linear rating scale models (LRSM), partial credit models (PCM), and
+linear partial credit models (LPCM). Missing values are allowed in the data
+matrix. Additional features are the ML estimation of the person parameters,
+Andersen's LR-test, item-specific Wald test, Martin-Loef-Test, nonparametric
+Monte-Carlo Tests, itemfit and personfit statistics including infit and outfit
+measures, ICC and other plots, automated stepwise item elimination, simulation
+module for various binary data matrices.
+
+WWW: https://cran.r-project.org/package=eRm
diff --git a/math/R-cran-eRm/pkg-plist b/math/R-cran-eRm/pkg-plist
new file mode 100644
index 000000000000..f689d2024fa8
--- /dev/null
+++ b/math/R-cran-eRm/pkg-plist
@@ -0,0 +1,33 @@
+%%R_MOD_DIR%%/CITATION
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/Meta/vignette.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/NEWS.Rd
+%%R_MOD_DIR%%/NEWS.pdf
+%%R_MOD_DIR%%/NEWSRd2txt.R
+%%R_MOD_DIR%%/R/eRm
+%%R_MOD_DIR%%/R/eRm.rdb
+%%R_MOD_DIR%%/R/eRm.rdx
+%%R_MOD_DIR%%/data/Rdata.rdb
+%%R_MOD_DIR%%/data/Rdata.rds
+%%R_MOD_DIR%%/data/Rdata.rdx
+%%R_MOD_DIR%%/doc/eRm.R
+%%R_MOD_DIR%%/doc/eRm.Rnw
+%%R_MOD_DIR%%/doc/eRm.pdf
+%%R_MOD_DIR%%/doc/index.html
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/eRm.rdb
+%%R_MOD_DIR%%/help/eRm.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/eRm.so
diff --git a/math/R-cran-exactRankTests/Makefile b/math/R-cran-exactRankTests/Makefile
new file mode 100644
index 000000000000..93f1d2ed2806
--- /dev/null
+++ b/math/R-cran-exactRankTests/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	exactRankTests
+DISTVERSION=	0.8-35
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Exact Distributions for Rank and Permutation Tests
+
+LICENSE=	GPLv2+
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-exactRankTests/distinfo b/math/R-cran-exactRankTests/distinfo
new file mode 100644
index 000000000000..dbf2c6a03490
--- /dev/null
+++ b/math/R-cran-exactRankTests/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651739661
+SHA256 (exactRankTests_0.8-35.tar.gz) = 7eb4a9ff431a306f634a5feba39c381afb17573e24230976ece843c84e8969e3
+SIZE (exactRankTests_0.8-35.tar.gz) = 46876
diff --git a/math/R-cran-exactRankTests/pkg-descr b/math/R-cran-exactRankTests/pkg-descr
new file mode 100644
index 000000000000..1275abd9a90d
--- /dev/null
+++ b/math/R-cran-exactRankTests/pkg-descr
@@ -0,0 +1,4 @@
+exactRankTests computes exact conditional p-values and quantiles using an
+implementation of the Shift-Algorithm by Streitberg & Roehmel.
+
+WWW: https://cran.r-project.org/package=exactRankTests
diff --git a/math/R-cran-exactRankTests/pkg-plist b/math/R-cran-exactRankTests/pkg-plist
new file mode 100644
index 000000000000..0fb792272ff3
--- /dev/null
+++ b/math/R-cran-exactRankTests/pkg-plist
@@ -0,0 +1,39 @@
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/NEWS
+%%R_MOD_DIR%%/R/exactRankTests
+%%R_MOD_DIR%%/R/exactRankTests.rdb
+%%R_MOD_DIR%%/R/exactRankTests.rdx
+%%R_MOD_DIR%%/data/ASAT.rda
+%%R_MOD_DIR%%/data/bloodp.rda
+%%R_MOD_DIR%%/data/ears.rda
+%%R_MOD_DIR%%/data/glioma.rda
+%%R_MOD_DIR%%/data/globulin.rda
+%%R_MOD_DIR%%/data/lungcancer.rda
+%%R_MOD_DIR%%/data/neuropathy.rda
+%%R_MOD_DIR%%/data/ocarcinoma.rda
+%%R_MOD_DIR%%/data/rotarod.rda
+%%R_MOD_DIR%%/data/sal.rda
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/exactRankTests.rdb
+%%R_MOD_DIR%%/help/exactRankTests.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/exactRankTests.so
+%%R_MOD_DIR%%/tests/Examples/exactRankTests-Ex.Rout.save
+%%R_MOD_DIR%%/tests/bugfix-tests.R
+%%R_MOD_DIR%%/tests/bugfix-tests.Rout.save
+%%R_MOD_DIR%%/tests/dtest.R
+%%R_MOD_DIR%%/tests/reg-tests.R
+%%R_MOD_DIR%%/tests/reg-tests.Rout.save
+%%R_MOD_DIR%%/tests/stest.R
diff --git a/math/R-cran-hdrcde/Makefile b/math/R-cran-hdrcde/Makefile
new file mode 100644
index 000000000000..6dfb1f155997
--- /dev/null
+++ b/math/R-cran-hdrcde/Makefile
@@ -0,0 +1,21 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	hdrcde
+PORTVERSION=	3.4
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Highest Density Regions and Conditional Density Estimation
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	R-cran-ash>0:math/R-cran-ash	\
+		R-cran-ks>0:science/R-cran-ks	\
+		R-cran-locfit>0:math/R-cran-locfit	\
+		R-cran-ggplot2>0:graphics/R-cran-ggplot2	\
+		R-cran-RColorBrewer>0:graphics/R-cran-RColorBrewer
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-hdrcde/distinfo b/math/R-cran-hdrcde/distinfo
new file mode 100644
index 000000000000..8e06956c7456
--- /dev/null
+++ b/math/R-cran-hdrcde/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651782131
+SHA256 (hdrcde_3.4.tar.gz) = 4341c6a021da46dcae3b1ef6d580e84dcf625c2b2139f537d0c26ec90899149b
+SIZE (hdrcde_3.4.tar.gz) = 62285
diff --git a/math/R-cran-hdrcde/pkg-descr b/math/R-cran-hdrcde/pkg-descr
new file mode 100644
index 000000000000..8b158925816a
--- /dev/null
+++ b/math/R-cran-hdrcde/pkg-descr
@@ -0,0 +1,6 @@
+The R package hdrcde provides tools for computing highest density regions in one
+and two dimensions, kernel estimates of univariate density functions conditional
+on one covariate, and multimodal regression.
+
+WWW: https://cran.r-project.org/package=hdrcde
+WWW: https://pkg.robjhyndman.com/hdrcde/
diff --git a/math/R-cran-hdrcde/pkg-plist b/math/R-cran-hdrcde/pkg-plist
new file mode 100644
index 000000000000..1043033c5f44
--- /dev/null
+++ b/math/R-cran-hdrcde/pkg-plist
@@ -0,0 +1,26 @@
+%%R_MOD_DIR%%/CITATION
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/NEWS.md
+%%R_MOD_DIR%%/R/hdrcde
+%%R_MOD_DIR%%/R/hdrcde.rdb
+%%R_MOD_DIR%%/R/hdrcde.rdx
+%%R_MOD_DIR%%/data/Rdata.rdb
+%%R_MOD_DIR%%/data/Rdata.rds
+%%R_MOD_DIR%%/data/Rdata.rdx
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/hdrcde.rdb
+%%R_MOD_DIR%%/help/hdrcde.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/hdrcde.so
diff --git a/math/R-cran-locfit/Makefile b/math/R-cran-locfit/Makefile
new file mode 100644
index 000000000000..3052ceac3aa2
--- /dev/null
+++ b/math/R-cran-locfit/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	locfit
+DISTVERSION=	1.5-9.5
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Local Regression, Likelihood and Density Estimation
+
+LICENSE=	GPLv2+
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-locfit/distinfo b/math/R-cran-locfit/distinfo
new file mode 100644
index 000000000000..8ddf60e0ee08
--- /dev/null
+++ b/math/R-cran-locfit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651781418
+SHA256 (locfit_1.5-9.5.tar.gz) = fd9f2bad9d8beec8be4843dc80e38ebe0f388835a7003490f67e57eeb9e6de23
+SIZE (locfit_1.5-9.5.tar.gz) = 201031
diff --git a/math/R-cran-locfit/pkg-descr b/math/R-cran-locfit/pkg-descr
new file mode 100644
index 000000000000..eebb074178d9
--- /dev/null
+++ b/math/R-cran-locfit/pkg-descr
@@ -0,0 +1,4 @@
+Local regression, likelihood and density estimation methods as described in the
+1999 book by Loader.
+
+WWW: https://cran.r-project.org/package=locfit
diff --git a/math/R-cran-locfit/pkg-plist b/math/R-cran-locfit/pkg-plist
new file mode 100644
index 000000000000..9a168ed4392d
--- /dev/null
+++ b/math/R-cran-locfit/pkg-plist
@@ -0,0 +1,48 @@
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/NEWS
+%%R_MOD_DIR%%/R/locfit
+%%R_MOD_DIR%%/R/locfit.rdb
+%%R_MOD_DIR%%/R/locfit.rdx
+%%R_MOD_DIR%%/data/ais.rda
+%%R_MOD_DIR%%/data/bad.rda
+%%R_MOD_DIR%%/data/border.rda
+%%R_MOD_DIR%%/data/chemdiab.tab.gz
+%%R_MOD_DIR%%/data/claw54.rda
+%%R_MOD_DIR%%/data/cldem.tab.gz
+%%R_MOD_DIR%%/data/cltest.rda
+%%R_MOD_DIR%%/data/cltrain.rda
+%%R_MOD_DIR%%/data/co2.rda
+%%R_MOD_DIR%%/data/diab.tab.gz
+%%R_MOD_DIR%%/data/ethanol.rda
+%%R_MOD_DIR%%/data/geyser.rda
+%%R_MOD_DIR%%/data/geyser.round.tab.gz
+%%R_MOD_DIR%%/data/heart.rda
+%%R_MOD_DIR%%/data/insect.tab.gz
+%%R_MOD_DIR%%/data/iris.rda
+%%R_MOD_DIR%%/data/kangaroo.rda
+%%R_MOD_DIR%%/data/livmet.rda
+%%R_MOD_DIR%%/data/mcyc.tab.gz
+%%R_MOD_DIR%%/data/mine.rda
+%%R_MOD_DIR%%/data/mmsamp.tab.gz
+%%R_MOD_DIR%%/data/morths.rda
+%%R_MOD_DIR%%/data/penny.tab.gz
+%%R_MOD_DIR%%/data/spencer.rda
+%%R_MOD_DIR%%/data/stamp.rda
+%%R_MOD_DIR%%/data/trimod.tab.gz
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/locfit.rdb
+%%R_MOD_DIR%%/help/locfit.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/locfit.so
diff --git a/math/R-cran-mclust/Makefile b/math/R-cran-mclust/Makefile
new file mode 100644
index 000000000000..e4c865ae8255
--- /dev/null
+++ b/math/R-cran-mclust/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	mclust
+PORTVERSION=	5.4.9
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Gaussian Mixture Modelling for Model-Based Clustering, Classification, and Density Estimation
+
+LICENSE=	GPLv2+
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-mclust/distinfo b/math/R-cran-mclust/distinfo
new file mode 100644
index 000000000000..2b25a04ab6f6
--- /dev/null
+++ b/math/R-cran-mclust/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651758678
+SHA256 (mclust_5.4.9.tar.gz) = 65f123c6af86cf5eb511c81ae0eafa60da7b2085bfea1a08bdc3116081da9568
+SIZE (mclust_5.4.9.tar.gz) = 2763588
diff --git a/math/R-cran-mclust/pkg-descr b/math/R-cran-mclust/pkg-descr
new file mode 100644
index 000000000000..b07b9f94da90
--- /dev/null
+++ b/math/R-cran-mclust/pkg-descr
@@ -0,0 +1,10 @@
+An R package implementing Gaussian Mixture Modelling for Model-Based Clustering,
+Classification, and Density Estimation.
+
+Gaussian finite mixture models fitted via EM algorithm for model-based
+clustering, classification, and density estimation, including Bayesian
+regularization, dimension reduction for visualization, and resampling-based
+inference.
+
+WWW: https://cran.r-project.org/package=mclust
+WWW: https://mclust-org.github.io/mclust/
diff --git a/math/R-cran-mclust/pkg-plist b/math/R-cran-mclust/pkg-plist
new file mode 100644
index 000000000000..1c243db6558b
--- /dev/null
+++ b/math/R-cran-mclust/pkg-plist
@@ -0,0 +1,32 @@
+%%R_MOD_DIR%%/CITATION
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/Meta/vignette.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/NEWS.md
+%%R_MOD_DIR%%/R/mclust
+%%R_MOD_DIR%%/R/mclust.rdb
+%%R_MOD_DIR%%/R/mclust.rdx
+%%R_MOD_DIR%%/data/Rdata.rdb
+%%R_MOD_DIR%%/data/Rdata.rds
+%%R_MOD_DIR%%/data/Rdata.rdx
+%%R_MOD_DIR%%/doc/index.html
+%%R_MOD_DIR%%/doc/mclust.R
+%%R_MOD_DIR%%/doc/mclust.Rmd
+%%R_MOD_DIR%%/doc/mclust.html
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/figures/logo.png
+%%R_MOD_DIR%%/help/mclust.rdb
+%%R_MOD_DIR%%/help/mclust.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/mclust.so
diff --git a/math/R-cran-misc3d/Makefile b/math/R-cran-misc3d/Makefile
new file mode 100644
index 000000000000..41fbaaaa6f9b
--- /dev/null
+++ b/math/R-cran-misc3d/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	misc3d
+DISTVERSION=	0.9-1
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Miscellaneous 3D Plots
+
+LICENSE=	GPLv2+
+
+USES=		cran
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-misc3d/distinfo b/math/R-cran-misc3d/distinfo
new file mode 100644
index 000000000000..e0e0ca964c2f
--- /dev/null
+++ b/math/R-cran-misc3d/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651761117
+SHA256 (misc3d_0.9-1.tar.gz) = a07bbb0de153e806cd79675ed478d2d9221cff825654f59a71a9cf61f4293d65
+SIZE (misc3d_0.9-1.tar.gz) = 66802
diff --git a/math/R-cran-misc3d/pkg-descr b/math/R-cran-misc3d/pkg-descr
new file mode 100644
index 000000000000..3bde539d8824
--- /dev/null
+++ b/math/R-cran-misc3d/pkg-descr
@@ -0,0 +1,4 @@
+A collection of miscellaneous 3d plots, including isosurfaces.
+
+WWW: https://cran.r-project.org/package=misc3d
+WWW: https://gitlab.com/luke-tierney/misc3d
diff --git a/math/R-cran-misc3d/pkg-plist b/math/R-cran-misc3d/pkg-plist
new file mode 100644
index 000000000000..d13516c9376e
--- /dev/null
+++ b/math/R-cran-misc3d/pkg-plist
@@ -0,0 +1,25 @@
+%%R_MOD_DIR%%/CITATION
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/demo.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/R/misc3d
+%%R_MOD_DIR%%/R/misc3d.rdb
+%%R_MOD_DIR%%/R/misc3d.rdx
+%%R_MOD_DIR%%/data/teapot.rda
+%%R_MOD_DIR%%/demo/lighting.R
+%%R_MOD_DIR%%/demo/teapot.R
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/misc3d.rdb
+%%R_MOD_DIR%%/help/misc3d.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
diff --git a/math/R-cran-moments/Makefile b/math/R-cran-moments/Makefile
new file mode 100644
index 000000000000..811794a1a4c5
--- /dev/null
+++ b/math/R-cran-moments/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	moments
+PORTVERSION=	0.14.1
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Moments, Cumulants, Skewness, Kurtosis and Related Tests
+
+LICENSE=	GPLv2+
+
+USES=		cran
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-moments/distinfo b/math/R-cran-moments/distinfo
new file mode 100644
index 000000000000..d3775f0ea51a
--- /dev/null
+++ b/math/R-cran-moments/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651740179
+SHA256 (moments_0.14.1.tar.gz) = 2ed2b84802da132ae0cf826a65de5bfa85042b82e086be844002fe1ce270d864
+SIZE (moments_0.14.1.tar.gz) = 7640
diff --git a/math/R-cran-moments/pkg-descr b/math/R-cran-moments/pkg-descr
new file mode 100644
index 000000000000..1f36d478f050
--- /dev/null
+++ b/math/R-cran-moments/pkg-descr
@@ -0,0 +1,4 @@
+Functions to calculate: moments, Pearson's kurtosis, Geary's kurtosis and
+skewness; tests related to them (Anscombe-Glynn, D'Agostino, Bonett-Seier).
+
+WWW: https://cran.r-project.org/package=moments
diff --git a/math/R-cran-moments/pkg-plist b/math/R-cran-moments/pkg-plist
new file mode 100644
index 000000000000..ead01d11b913
--- /dev/null
+++ b/math/R-cran-moments/pkg-plist
@@ -0,0 +1,19 @@
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/R/moments
+%%R_MOD_DIR%%/R/moments.rdb
+%%R_MOD_DIR%%/R/moments.rdx
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/moments.rdb
+%%R_MOD_DIR%%/help/moments.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
diff --git a/math/R-cran-plot3D/Makefile b/math/R-cran-plot3D/Makefile
new file mode 100644
index 000000000000..b0d6a66148b4
--- /dev/null
+++ b/math/R-cran-plot3D/Makefile
@@ -0,0 +1,17 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	plot3D
+PORTVERSION=	1.4
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Plotting Multi-Dimensional Data
+
+LICENSE=	GPLv3+
+
+RUN_DEPENDS=	R-cran-misc3d>0:math/R-cran-misc3d
+
+USES=		cran
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-plot3D/distinfo b/math/R-cran-plot3D/distinfo
new file mode 100644
index 000000000000..bf6905290581
--- /dev/null
+++ b/math/R-cran-plot3D/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651762557
+SHA256 (plot3D_1.4.tar.gz) = d04a45197646fb36bc38870c1c2351cb56b912bd772b1ebfa25eaeef35fda9c0
+SIZE (plot3D_1.4.tar.gz) = 2616461
diff --git a/math/R-cran-plot3D/pkg-descr b/math/R-cran-plot3D/pkg-descr
new file mode 100644
index 000000000000..56d04d063c3a
--- /dev/null
+++ b/math/R-cran-plot3D/pkg-descr
@@ -0,0 +1,4 @@
+Functions for viewing 2-D and 3-D data, including perspective plots, slice
+plots, surface plots, scatter plots, etc. Includes data sets from oceanography.
+
+WWW: https://cran.r-project.org/package=plot3D
diff --git a/math/R-cran-plot3D/pkg-plist b/math/R-cran-plot3D/pkg-plist
new file mode 100644
index 000000000000..805e50380eb0
--- /dev/null
+++ b/math/R-cran-plot3D/pkg-plist
@@ -0,0 +1,31 @@
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/Meta/vignette.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/R/plot3D
+%%R_MOD_DIR%%/R/plot3D.rdb
+%%R_MOD_DIR%%/R/plot3D.rdx
+%%R_MOD_DIR%%/data/Rdata.rdb
+%%R_MOD_DIR%%/data/Rdata.rds
+%%R_MOD_DIR%%/data/Rdata.rdx
+%%R_MOD_DIR%%/doc/index.html
+%%R_MOD_DIR%%/doc/plot3D.R
+%%R_MOD_DIR%%/doc/plot3D.pdf
+%%R_MOD_DIR%%/doc/plot3D.rnw
+%%R_MOD_DIR%%/doc/volcano.R
+%%R_MOD_DIR%%/doc/volcano.pdf
+%%R_MOD_DIR%%/doc/volcano.rnw
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/help/plot3D.rdb
+%%R_MOD_DIR%%/help/plot3D.rdx
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
diff --git a/math/R-cran-pracma/Makefile b/math/R-cran-pracma/Makefile
new file mode 100644
index 000000000000..9a6641bc65a7
--- /dev/null
+++ b/math/R-cran-pracma/Makefile
@@ -0,0 +1,15 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	pracma
+PORTVERSION=	2.3.8
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Practical Numerical Math Functions
+
+LICENSE=	GPLv3+
+
+USES=		cran
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-pracma/distinfo b/math/R-cran-pracma/distinfo
new file mode 100644
index 000000000000..2bdb608378c0
--- /dev/null
+++ b/math/R-cran-pracma/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651763202
+SHA256 (pracma_2.3.8.tar.gz) = 2302d454406e72711714732658d0c59c9d5a1ead698f22ee23f38cba63d42764
+SIZE (pracma_2.3.8.tar.gz) = 397519
diff --git a/math/R-cran-pracma/pkg-descr b/math/R-cran-pracma/pkg-descr
new file mode 100644
index 000000000000..c4728f52c5b3
--- /dev/null
+++ b/math/R-cran-pracma/pkg-descr
@@ -0,0 +1,6 @@
+Provides a large number of functions from numerical analysis and linear algebra,
+numerical optimization, differential equations, time series, plus some
+well-known special mathematical functions. Uses 'MATLAB' function names where
+appropriate to simplify porting.
+
+WWW: https://cran.r-project.org/package=pracma
diff --git a/math/R-cran-pracma/pkg-plist b/math/R-cran-pracma/pkg-plist
new file mode 100644
index 000000000000..37ef438287a2
--- /dev/null
+++ b/math/R-cran-pracma/pkg-plist
@@ -0,0 +1,97 @@
+%%R_MOD_DIR%%/DESCRIPTION
+%%R_MOD_DIR%%/INDEX
+%%R_MOD_DIR%%/Meta/Rd.rds
+%%R_MOD_DIR%%/Meta/data.rds
+%%R_MOD_DIR%%/Meta/demo.rds
+%%R_MOD_DIR%%/Meta/features.rds
+%%R_MOD_DIR%%/Meta/hsearch.rds
+%%R_MOD_DIR%%/Meta/links.rds
+%%R_MOD_DIR%%/Meta/nsInfo.rds
+%%R_MOD_DIR%%/Meta/package.rds
+%%R_MOD_DIR%%/NAMESPACE
+%%R_MOD_DIR%%/NEWS
+%%R_MOD_DIR%%/NEWS.md
+%%R_MOD_DIR%%/R/pracma
+%%R_MOD_DIR%%/R/pracma.rdb
+%%R_MOD_DIR%%/R/pracma.rdx
+%%R_MOD_DIR%%/data/Rdata.rdb
+%%R_MOD_DIR%%/data/Rdata.rds
+%%R_MOD_DIR%%/data/Rdata.rdx
*** 149 LINES SKIPPED ***