vdorie / dbarts

Discrete Bayesian Additive Regression Trees Sampler
56 stars 21 forks source link

test-19-splitProbabilities fails on Darwin PPC #56

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago
R version 4.2.3 (2023-03-15) -- "Shortstop Beagle"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)

> Sys.unsetenv("R_TESTS")
> if (require(testthat, quietly = TRUE)) {
+   require(dbarts)
+   test_check("dbarts")
+ } else {
+   cat("package 'testthat' not available; cannot run unit tests\n")
+ }
Loading required package: dbarts
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 771 ]

══ Skipped tests ═══════════════════════════════════════════════════════════════
• maxSIMDLevel == 0 is TRUE (2)

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-19-splitProbabilities.R:124:3'): split probabilities sample from posterior ──
all(...) is not TRUE

`actual`:   FALSE
`expected`: TRUE 

[ FAIL 1 | WARN 0 | SKIP 2 | PASS 771 ]
Error: Test failures
Execution halted

Everything works aside of this one. Could it be fixed?

barracuda156 commented 6 months ago

@vdorie Could you address this one, please?