R Under development (unstable) (2026-02-23 r89457 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(PSTR) > > test_check("PSTR") v The PSTR model is ready. -- R package PSTR 2.0.0 (Green Panel) ------------------------------------------ -- Results of the linearity (homogeneity) tests -- -- LM tests based on transition variable 'vala' -- Sequence of homogeneity tests for selecting number of switches 'm' -- -- LM tests based on transition variable 'vala' -- R package PSTR 2.0.0 (Green Panel) ------------------------------------------ -- Results of the PSTR estimation: -- i Transition variable 'vala' is used in the estimation. -- Parameter estimates in the linear part (first extreme regime) -- Parameter estimates in the non-linear part -- Parameter estimates in the second extreme regime -- Non-linear parameter estimates i Estimated standard deviation of the residuals is 0.04301. i The specification results are ready, run `print(obj, mode="tests")` to show the results. -- R package PSTR 2.0.0 (Green Panel) ------------------------------------------ -- Results of the evaluation tests -- -- Parameter constancy test -- WB and WCB parameter constancy test -- No remaining nonlinearity (heterogeneity) test -- WB and WCB no remaining nonlinearity (heterogeneity) test i The specification results are ready, run `print(obj, mode="tests")` to show the results. i The estimation results are ready, run `print(obj, mode="estimates")` to show the results. [ FAIL 0 | WARN 0 | SKIP 0 | PASS 19 ] > > proc.time() user system elapsed 325.71 8.73 334.46