R version 4.5.0 beta (2025-04-02 r88102 ucrt) -- "How About a Twenty-Six" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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 . 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 . To see these entries in BibTeX format, use 'print(, bibtex=TRUE)', 'toBibtex(.)', or set 'options(citation.bibtex.max=999)'. > > test_check("OPSR") [ FAIL 0 | WARN 0 | SKIP 2 | PASS 122 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • Skipping (1): 'test-loglik_R.R:2:3' • opsr_check_omp() is TRUE (1): 'test-opsr.R:90:3' [ FAIL 0 | WARN 0 | SKIP 2 | PASS 122 ] > > proc.time() user system elapsed 55.81 5.82 61.76