mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
math/R-cran-RcppArmadillo: Update to 0.12.8.2.1
ChangeLog: https://cran.r-project.org/web/packages/RcppArmadillo/news.html
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
Reference in New Issue
Block a user