-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Description
Those watching this repo and hence seeing this probably also follow the rcpp-devel list.
The quanteda by @kbenoit et al package came up as it at times seems to fail tests for me / us / CRAN. Now that RcppArmadillo 0.760.1.0 is on CRAN, it is seen to let quanteda fail 14 times:
* checking tests ... [59s/36s] ERROR
Running ‘testthat.R’ [58s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
testthat results ================================================================
OK: 1390 SKIPPED: 19 FAILED: 17
1. Error: test textplot_scale1d wordfish in the most basic way (@test-plots.R#96)
2. Error: textmodel-ca works as expected as ca::ca : use mt (@test-textmodel_ca.R#27)
3. Error: textmodel-ca(sparse) works as expected on another dataset (@test-textmodel_ca.R#68)
4. Error: textmodel-wordfish works as expected: dense vs sparse vs sparse+mt (@test-textmodel_wordfish.R#22)
5. Error: print/show/summary method works as expected (@test-textmodel_wordfish.R#32)
6. Error: coef works for wordfish fitted (@test-textmodel_wordfish.R#64)
7. Error: textmodel-wordfish works for quasipoisson - feature as expected: dense vs sparse vs sparse+mt (@test-textmodel_wordfish.R#81)
8. Error: textmodel-wordfish works for quasipoisson - overall as expected: dense vs sparse vs sparse+mt (@test-textmodel_wordfish.R#103)
9. Error: textmodel-wordfish (sparse) works as expected on another dataset (@test-textmodel_wordfish.R#119)
1. ...
Error: testthat unit tests failed
Execution halted
* checking for unstated dependencies in vignettes ... OK
Most of these are of the dfmSparse is not supported
variety leading to our as<>()
caster.
For testing, I downgraded to the previously release version 0.7.900.2.0 of RcppArmadillo -- and with it quateda 0.99 (which itself only got onto CRAN after we submitted) passes.
@binxiangni Could you possibly take a quick look if either we (or quanteda) can accomodate with a simple cast? I can take a look too but I am simply not that deep in the sparse code ...
Metadata
Metadata
Assignees
Labels
No labels