R Under development (unstable) (2025-02-12 r87715 ucrt) -- "Unsuffered Consequences" 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. > > > library(testthat) > library(dsem) > > # Run tests > testthat::test_check("dsem") Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 6 Fixed 2 mu_j 2 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 6 Fixed 2 mu_j 2 Random 3 x_tj 200 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 6 Fixed 2 mu_j 2 Random 3 x_tj 200 Random Read 5 records Coefficient_name Number_of_coefficients Type 1 beta_z 7 Fixed 2 delta0_j 2 Fixed 3 lnsigma_j 2 Fixed 4 mu_j 2 Random 5 x_tj 122 Random Read 5 records Coefficient_name Number_of_coefficients Type 1 beta_z 7 Fixed 2 delta0_j 2 Fixed 3 mu_j 2 Random 4 x_tj 122 Random Read 5 records Coefficient_name Number_of_coefficients Type 1 beta_z 7 Fixed 2 delta0_j 2 Fixed 3 mu_j 2 Random 4 x_tj 122 Random Read 5 records Coefficient_name Number_of_coefficients Type 1 beta_z 6 Fixed 2 delta0_j 2 Fixed 3 mu_j 2 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 6 Fixed 2 delta0_j 2 Fixed 3 mu_j 2 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 6 Fixed 2 mu_j 2 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 6 Fixed 2 delta0_j 2 Fixed 3 mu_j 2 Random Read 10 records Coefficient_name Number_of_coefficients Type 1 beta_z 17 Fixed 2 mu_j 8 Random Read 10 records Coefficient_name Number_of_coefficients Type 1 beta_z 17 Fixed 2 mu_j 8 Random $par beta_z beta_z beta_z beta_z beta_z beta_z 0.28417790 -0.03841437 0.84012277 0.44333141 0.36664513 -0.12270679 beta_z beta_z beta_z beta_z beta_z beta_z 0.43580399 0.15036987 0.12793940 6.49358658 10.80899505 0.69515907 beta_z beta_z beta_z beta_z beta_z 4.21165242 1.34847427 2.00838610 0.92424304 10.61133205 $objective [1] 431.6122 attr(,"logarithm") [1] TRUE $convergence [1] 0 $iterations [1] 80 $evaluations function gradient 94 81 $message [1] "relative convergence (4)" Read 10 records Coefficient_name Number_of_coefficients Type 1 beta_z 17 Fixed 2 mu_j 8 Random Read 10 records Coefficient_name Number_of_coefficients Type 1 beta_z 17 Fixed 2 mu_j 8 Random Read 10 records Coefficient_name Number_of_coefficients Type 1 beta_z 17 Fixed 2 lnsigma_j 2 Fixed 3 mu_j 8 Random 4 x_tj 44 Random Read 3 items Read 10 records Coefficient_name Number_of_coefficients Type 1 beta_z 17 Fixed 2 mu_j 8 Random Read 0 records Coefficient_name Number_of_coefficients Type 1 beta_z 2 Fixed 2 mu_j 2 Random Read 2 records Coefficient_name Number_of_coefficients Type 1 beta_z 2 Fixed 2 mu_j 2 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 4 Fixed 2 mu_j 2 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 lnsigma_j 2 Fixed 2 mu_j 2 Random 3 x_tj 122 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 lnsigma_j 2 Fixed 2 mu_j 2 Random 3 x_tj 122 Random Read 16 records Coefficient_name Number_of_coefficients Type 1 beta_z 24 Fixed 2 mu_j 8 Fixed 3 x_tj 232 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 5 Fixed 2 mu_j 4 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 5 Fixed 2 mu_j 4 Random Read 16 records Coefficient_name Number_of_coefficients Type 1 beta_z 24 Fixed 2 mu_j 8 Fixed 3 x_tj 232 Random Read 16 records Coefficient_name Number_of_coefficients Type 1 beta_z 24 Fixed 2 mu_j 8 Fixed 3 x_tj 232 Random [ FAIL 0 | WARN 10 | SKIP 0 | PASS 16 ] [ FAIL 0 | WARN 10 | SKIP 0 | PASS 16 ] > > # Run from local directory > # testthat::test_dir( "C:/Users/James.Thorson/Desktop/Git/dsem/tests/testthat/", reporter="check" ) > > proc.time() user system elapsed 12.07 0.68 12.75