Last updated on 2026-11-18 02:02:20 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.1 | 59.76 | 249.41 | 309.17 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.1 | 39.15 | 176.90 | 216.05 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.0.1 | 43.00 | 166.04 | 209.04 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.1 | 44.00 | 173.12 | 217.12 | OK | |
| r-devel-windows-x86_64 | 1.0.1 | 67.00 | 415.00 | 482.00 | OK | |
| r-patched-linux-x86_64 | 1.0.1 | 52.57 | 236.63 | 289.20 | OK | |
| r-release-linux-x86_64 | 1.0.1 | 54.14 | 237.05 | 291.19 | OK | |
| r-release-macos-arm64 | 1.0.1 | 11.00 | 61.00 | 72.00 | OK | |
| r-release-macos-x86_64 | 1.0.1 | 36.00 | 432.00 | 468.00 | OK | |
| r-release-windows-x86_64 | 1.0.1 | 66.00 | 349.00 | 415.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.1 | OK | ||||
| r-oldrel-macos-x86_64 | 1.0.1 | 32.00 | 146.00 | 178.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.1 | 78.00 | 426.00 | 504.00 | OK |
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [35s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(OPSR)
To cite package 'OPSR' in publications use:
Heimgartner D, Wang X (2025). "OPSR: A package for estimating ordered
probit switching regression models in R." Arbeitsbericht Verkehrs-
und Raumplanung 1907, IVT, ETH Zurich. doi:10.3929/ethz-b-000729641
<https://doi.org/10.3929/ethz-b-000729641>.
Wang X, Mokhtarian PL (2024). "Examining the treatment effect of
teleworking on vehicle-miles driven: Applying an ordered probit
selection model and incorporating the role of travel stress."
_Transportation Research Part A_, *186*, 104072.
doi:10.1016/j.tra.2024.104072
<https://doi.org/10.1016/j.tra.2024.104072>.
To see these entries in BibTeX format, use 'print(<citation>,
bibtex=TRUE)', 'toBibtex(.)', or set
'options(citation.bibtex.max=999)'.
>
> test_check("OPSR")
Saving _problems/test-predict-111.R
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 128 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• Skipping (2): 'test-loglik_R.R:2:3', 'test-opsr_step.R:1:1'
• opsr_check_omp() is TRUE (1): 'test-opsr.R:90:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:111:3'): yields similar results to predict.lm if no error correlation ──
Expected `test` to equal 1.
Differences:
`actual`: 0.988
`expected`: 1.000
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 128 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc