git: b9186746e723 - main - science/R-cran-ks: adding a R library for Kernel Smoothing

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

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

commit b9186746e723c3c086d784ff82ebc4f99d932f19
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-05-06 15:04:01 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-05-06 15:32:19 +0000

    science/R-cran-ks: adding a R library for Kernel Smoothing
---
 science/Makefile            |  1 +
 science/R-cran-ks/Makefile  | 23 +++++++++++++++++++++++
 science/R-cran-ks/distinfo  |  3 +++
 science/R-cran-ks/pkg-descr |  6 ++++++
 science/R-cran-ks/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++
 5 files changed, 70 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index 19c165fea154..dac52660806c 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -16,6 +16,7 @@
     SUBDIR += R-cran-etm
     SUBDIR += R-cran-fastICA
     SUBDIR += R-cran-kernlab
+    SUBDIR += R-cran-ks
     SUBDIR += R-cran-snow
     SUBDIR += R-cran-som
     SUBDIR += R-cran-udunits2
diff --git a/science/R-cran-ks/Makefile b/science/R-cran-ks/Makefile
new file mode 100644
index 000000000000..1e834c5dc4f6
--- /dev/null
+++ b/science/R-cran-ks/Makefile
@@ -0,0 +1,23 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	ks
+PORTVERSION=	1.13.5
+CATEGORIES=	science
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Kernel Smoothing
+
+LICENSE=	GPLv2+
+
+RUN_DEPENDS=	R-cran-FNN>0:math/R-cran-FNN	\
+		R-cran-mclust>0:math/R-cran-mclust	\
+		R-cran-plot3D>0:math/R-cran-plot3D	\
+		R-cran-pracma>0:math/R-cran-pracma	\
+		R-cran-mvtnorm>0:math/R-cran-mvtnorm	\
+		R-cran-kernlab>0:science/R-cran-kernlab	\
+		R-cran-multicool>0:devel/R-cran-multicool
+
+USES=		cran:compiles
+
+.include <bsd.port.mk>
diff --git a/science/R-cran-ks/distinfo b/science/R-cran-ks/distinfo
new file mode 100644
index 000000000000..045d1be27f44
--- /dev/null
+++ b/science/R-cran-ks/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651765971
+SHA256 (ks_1.13.5.tar.gz) = d1c4d06d704f301628455787ba929add1e774debc343d0952a768abea6cc7815
+SIZE (ks_1.13.5.tar.gz) = 1032859
diff --git a/science/R-cran-ks/pkg-descr b/science/R-cran-ks/pkg-descr
new file mode 100644
index 000000000000..3ba26c96fbe5
--- /dev/null
+++ b/science/R-cran-ks/pkg-descr
@@ -0,0 +1,6 @@
+Kernel smoothers for univariate and multivariate data, including densities,
+density derivatives, cumulative distributions, clustering, classification,
+density ridges, significant modal regions, and two-sample hypothesis tests.
+
+WWW: https://cran.r-project.org/package=ks
+WWW: https://www.mvstat.net/mvksa/
diff --git a/science/R-cran-ks/pkg-plist b/science/R-cran-ks/pkg-plist
new file mode 100644
index 000000000000..bb2b0c9d8d32
--- /dev/null
+++ b/science/R-cran-ks/pkg-plist
@@ -0,0 +1,37 @@
+%%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/ks
+%%R_MOD_DIR%%/R/ks.rdb
+%%R_MOD_DIR%%/R/ks.rdx
+%%R_MOD_DIR%%/data/air.RData
+%%R_MOD_DIR%%/data/cardio.RData
+%%R_MOD_DIR%%/data/grevillea.RData
+%%R_MOD_DIR%%/data/hsct.RData
+%%R_MOD_DIR%%/data/plate.RData
+%%R_MOD_DIR%%/data/platesf.RData
+%%R_MOD_DIR%%/data/quake.RData
+%%R_MOD_DIR%%/data/quakesf.RData
+%%R_MOD_DIR%%/data/tempb.RData
+%%R_MOD_DIR%%/data/unicef.RData
+%%R_MOD_DIR%%/data/worldbank.RData
+%%R_MOD_DIR%%/doc/index.html
+%%R_MOD_DIR%%/doc/kde.R
+%%R_MOD_DIR%%/doc/kde.Rnw
+%%R_MOD_DIR%%/doc/kde.pdf
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/ks.rdb
+%%R_MOD_DIR%%/help/ks.rdx
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css
+%%R_MOD_DIR%%/libs/ks.so