git: f35eca94f575 - main - math/R-cran-polycor: adding a Polychoric and Polyserial Correlations library

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Wed, 04 May 2022 20:32:24 UTC
The branch main has been updated by thierry:

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

commit f35eca94f57594a4d44b343d6f95d4ab7a7a0f9f
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-05-04 20:13:44 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-05-04 20:32:14 +0000

    math/R-cran-polycor: adding a Polychoric and Polyserial Correlations library
---
 math/Makefile                 |  1 +
 math/R-cran-polycor/Makefile  | 18 ++++++++++++++++++
 math/R-cran-polycor/distinfo  |  3 +++
 math/R-cran-polycor/pkg-descr |  6 ++++++
 math/R-cran-polycor/pkg-plist | 21 +++++++++++++++++++++
 5 files changed, 49 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 1658b5f228a9..0430b305f1bc 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -100,6 +100,7 @@
     SUBDIR += R-cran-partitions
     SUBDIR += R-cran-pbkrtest
     SUBDIR += R-cran-pls
+    SUBDIR += R-cran-polycor
     SUBDIR += R-cran-polynom
     SUBDIR += R-cran-prodlim
     SUBDIR += R-cran-proxy
diff --git a/math/R-cran-polycor/Makefile b/math/R-cran-polycor/Makefile
new file mode 100644
index 000000000000..83957c3219c1
--- /dev/null
+++ b/math/R-cran-polycor/Makefile
@@ -0,0 +1,18 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+
+PORTNAME=	polycor
+DISTVERSION=	0.8-1
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Polychoric and Polyserial Correlations
+
+LICENSE=	GPLv2+
+
+RUN_DEPENDS=	R-cran-admisc>0:math/R-cran-admisc	\
+		R-cran-mvtnorm>0:math/R-cran-mvtnorm
+
+USES=		cran
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-polycor/distinfo b/math/R-cran-polycor/distinfo
new file mode 100644
index 000000000000..d40615df8e70
--- /dev/null
+++ b/math/R-cran-polycor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651523290
+SHA256 (polycor_0.8-1.tar.gz) = f05f53e0b5c992de0e5b4c6b2e998148cf83310358821e1bba180d81face0509
+SIZE (polycor_0.8-1.tar.gz) = 13931
diff --git a/math/R-cran-polycor/pkg-descr b/math/R-cran-polycor/pkg-descr
new file mode 100644
index 000000000000..68fb9ae308c7
--- /dev/null
+++ b/math/R-cran-polycor/pkg-descr
@@ -0,0 +1,6 @@
+Computes polychoric and polyserial correlations by quick "two-step" methods or
+ML, optionally with standard errors; tetrachoric and biserial correlations are
+special cases.
+
+WWW: https://cran.r-project.org/package=polycor
+WWW: https://polycor.r-forge.r-project.org/
diff --git a/math/R-cran-polycor/pkg-plist b/math/R-cran-polycor/pkg-plist
new file mode 100644
index 000000000000..e9397cec7744
--- /dev/null
+++ b/math/R-cran-polycor/pkg-plist
@@ -0,0 +1,21 @@
+%%R_MOD_DIR%%/CHANGES
+%%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%%/NEWS
+%%R_MOD_DIR%%/R/polycor
+%%R_MOD_DIR%%/R/polycor.rdb
+%%R_MOD_DIR%%/R/polycor.rdx
+%%R_MOD_DIR%%/help/AnIndex
+%%R_MOD_DIR%%/help/aliases.rds
+%%R_MOD_DIR%%/help/paths.rds
+%%R_MOD_DIR%%/help/polycor.rdb
+%%R_MOD_DIR%%/help/polycor.rdx
+%%R_MOD_DIR%%/html/00Index.html
+%%R_MOD_DIR%%/html/R.css