[R-pkg-team] Bug#971681: r-cran-openmx regression on arm, will not migrate to testing due to failing autopkgtests
Andreas Tille
andreas at an3as.eu
Tue Oct 6 07:06:22 BST 2020
Control: tags -1 upstream
Control: tags -1 help
Control: forwarded -1 Joshua N. Pritikin <jpritikin at pobox.com>
Hi Joshua,
the version 2.18.1 of the openmx CRAN package that was build for Debian
shows a test suite error on arm64 architecture. Here is an extract of
the full test log[1] (if you want to inspect the full log I'd recommend
to seek for some strings you can find below quite at the end):
BEGIN TEST testthat.R
R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: aarch64-unknown-linux-gnu (64-bit)
...
> library(testthat)
> library(OpenMx)
To take full advantage of multiple cores, use:
mxOption(key='Number of Threads', value=parallel::detectCores()) #now
Sys.setenv(OMP_NUM_THREADS=parallel::detectCores()) #before library(OpenMx)
>
> test_check("OpenMx")
── 1. Error: RAM (@test-discrete.R#138) ───────────────────────────────────────
Don't know how to interpret factor column 'x1' as numeric.
You may want to specify thresholds for your model like this: mxThreshold(vars='x1', nThresh=4)
Backtrace:
1. OpenMx::mxRun(factorModel)
2. OpenMx:::runHelper(...)
── 2. Error: mediation (@test-discrete.R#201) ─────────────────────────────────
Don't know how to interpret factor column 'x2' as numeric.
You may want to specify thresholds for your model like this: mxThreshold(vars='x2', nThresh=26)
Backtrace:
1. OpenMx::mxRun(factorModel)
2. OpenMx:::runHelper(...)
── 3. Error: LISREL (@test-discrete.R#247) ────────────────────────────────────
Don't know how to interpret factor column 'x1' as numeric.
You may want to specify thresholds for your model like this: mxThreshold(vars='x1', nThresh=4)
Backtrace:
1. OpenMx::mxRun(factorModel)
2. OpenMx:::runHelper(...)
── 4. Error: probit+poisson ML+WLS (@test-discrete.R#290) ─────────────────────
Don't know how to interpret factor column 'z4' as numeric.
You may want to specify thresholds for your model like this: mxThreshold(vars='z4', nThresh=3)
Backtrace:
1. OpenMx::mxRun(build())
2. OpenMx:::runHelper(...)
[1] 1 33 34 40 54 55 81 83 97 104 105 111 113 135 142 145 160 161 188
[20] 193 196 209 212 230 241 261
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 598 | SKIPPED: 4 | WARNINGS: 3 | FAILED: 4 ]
1. Error: RAM (@test-discrete.R#138)
2. Error: mediation (@test-discrete.R#201)
3. Error: LISREL (@test-discrete.R#247)
4. Error: probit+poisson ML+WLS (@test-discrete.R#290)
Error: testthat unit tests failed
Execution halted
Do you have any idea what might be wrong here?
Kind regards
Andreas.
[1] https://ci.debian.net/data/autopkgtest/testing/arm64/r/r-cran-openmx/7303537/log.gz
--
http://fam-tille.de
More information about the R-pkg-team
mailing list