Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2024 08:07:14 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 89e4a1f2c1d1 - main - math/R-cran-RcppArmadillo: Update to 0.12.8.2.1
Message-ID:  <202404190807.43J87EHc024215@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit 89e4a1f2c1d1997b8414e2e648c7b4b7c829b63e
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-04-19 08:06:08 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-19 08:07:03 +0000

    math/R-cran-RcppArmadillo: Update to 0.12.8.2.1
    
    ChangeLog: https://cran.r-project.org/web/packages/RcppArmadillo/news.html
---
 math/R-cran-RcppArmadillo/Makefile                          |  4 +++-
 math/R-cran-RcppArmadillo/distinfo                          |  6 +++---
 .../files/patch-inst_tinytest_test__cube.R                  | 13 +++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/math/R-cran-RcppArmadillo/Makefile b/math/R-cran-RcppArmadillo/Makefile
index 35a425765a39..596a511fd90c 100644
--- a/math/R-cran-RcppArmadillo/Makefile
+++ b/math/R-cran-RcppArmadillo/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	RcppArmadillo
-DISTVERSION=	0.12.8.2.0
+DISTVERSION=	0.12.8.2.1
 CATEGORIES=	math
 DISTNAME=	${PORTNAME}_${DISTVERSION}
 
@@ -12,6 +12,8 @@ LICENSE=	GPLv2+
 CRAN_DEPENDS=	R-cran-Rcpp>=0.11.0:devel/R-cran-Rcpp
 BUILD_DEPENDS=	${CRAN_DEPENDS}
 RUN_DEPENDS=	${CRAN_DEPENDS}
+TEST_DEPENDS=	R-cran-slam>0:math/R-cran-slam \
+		R-cran-tinytest>0:devel/R-cran-tinytest
 
 USES=		cran:auto-plist,compiles
 
diff --git a/math/R-cran-RcppArmadillo/distinfo b/math/R-cran-RcppArmadillo/distinfo
index 3065e6b32a39..028c3a800cb4 100644
--- a/math/R-cran-RcppArmadillo/distinfo
+++ b/math/R-cran-RcppArmadillo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712475020
-SHA256 (RcppArmadillo_0.12.8.2.0.tar.gz) = ed2158879cc9bc3bed73c720db2f267aa5247a97330841e613d5388c6f052c70
-SIZE (RcppArmadillo_0.12.8.2.0.tar.gz) = 1405964
+TIMESTAMP = 1713353953
+SHA256 (RcppArmadillo_0.12.8.2.1.tar.gz) = bc1499398c49a874ea27802ca8c6e9d61e516183a68237b61e0b3a2e65178987
+SIZE (RcppArmadillo_0.12.8.2.1.tar.gz) = 1405114
diff --git a/math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R b/math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R
new file mode 100644
index 000000000000..9382883d73bd
--- /dev/null
+++ b/math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R
@@ -0,0 +1,13 @@
+https://github.com/RcppCore/RcppArmadillo/issues/408
+
+--- inst/tinytest/test_cube.R.orig	2023-02-19 18:01:50 UTC
++++ inst/tinytest/test_cube.R
+@@ -24,7 +24,7 @@ Rcpp::sourceCpp("cpp/cube.cpp")
+ Rcpp::sourceCpp("cpp/cube.cpp")
+ 
+ .onWindows <- .Platform$OS.type == "windows"
+-critTol <- if (.onWindows) 1.0e-6 else 1.5e-7
++critTol <- if (.onWindows || .Machine$sizeof.long == 4 || .Machine$sizeof.long == 8) 1.0e-6 else 1.5e-7
+ 
+ ## test arrays
+ dbl_cube <- array(1.5:27.5, rep(3, 3))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404190807.43J87EHc024215>