R Under development (unstable) (2024-12-15 r87442 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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(exhaustiveRasch) > > test_check("exhaustiveRasch") Scale-Length 5; pre-defined set of item combinations ('combos' parameter was used) initial combos: 5 [1] "computing process 1/1: test_itemfit" | | | 0% | |+++++++++++++++++ | 33% | |+++++++++++++++++++++++++++++++++ | 67% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 0 --- Runtime: 1.83 seconds Fit: 0 Scale-Length 5; pre-defined set of item combinations ('combos' parameter was used) initial combos: 5 [1] "computing process 1/1: test_itemfit" | | | 0% | |+++++++++++++++++ | 33% | |+++++++++++++++++++++++++++++++++ | 67% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 0 --- Runtime: 1.93 seconds Fit: 0 Scale-Length 5; pre-defined set of item combinations ('combos' parameter was used) initial combos: 5 [1] "computing process 1/1: test_itemfit" | | | 0% | |+++++++++++++++++ | 33% | |+++++++++++++++++++++++++++++++++ | 67% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 3 --- Runtime: 1.84 seconds Fit: 3 Scale-Length 5; pre-defined set of item combinations ('combos' parameter was used) initial combos: 5 [1] "computing process 1/1: test_itemfit" | | | 0% | |+++++++++++++++++ | 33% | |+++++++++++++++++++++++++++++++++ | 67% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 3 --- Runtime: 1.49 seconds Fit: 3 Scale-Length 5; pre-defined set of item combinations ('combos' parameter was used) initial combos: 5 [1] "computing process 1/2: test_itemfit" | | | 0% | |+++++++++++++++++ | 33% | |+++++++++++++++++++++++++++++++++ | 67% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 3 --- Runtime: 1.52 seconds [1] "computing process 2/2: all_rawscores" | | | 0% | |+++++++++++++++++++++++++ | 50% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed all_rawscores: 3 --- Runtime: 1.37 seconds Fit: 3 Scale-Length 5; pre-defined set of item combinations ('combos' parameter was used) initial combos: 5 [1] "computing process 1/2: test_itemfit" | | | 0% | |+++++++++++++++++ | 33% | |+++++++++++++++++++++++++++++++++ | 67% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 3 --- Runtime: 1.52 seconds [1] "computing process 2/2: all_rawscores" | | | 0% | |+++++++++++++++++++++++++ | 50% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed all_rawscores: 3 --- Runtime: 1.38 seconds Fit: 3 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: test_LR" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_LR: 1 --- Runtime: 1.3 seconds Fit: 1 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: test_LR" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_LR: 1 --- Runtime: 1.4 seconds Fit: 1 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: test_LR" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_LR: 1 --- Runtime: 1.74 seconds Fit: 1 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: test_LR" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_LR: 1 --- Runtime: 1.74 seconds Fit: 1 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: test_mloef" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_mloef: 7 --- Runtime: 1.33 seconds Fit: 7 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: test_mloef" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_mloef: 7 --- Runtime: 1.36 seconds Fit: 7 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: no_test" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed no_test: 15 --- Runtime: 1.24 seconds Fit: 15 Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: no_test" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed no_test: 15 --- Runtime: 1.24 seconds Fit: 15 Scale-Length 5; pre-defined set of item combinations ('combos' parameter was used) initial combos: 5 [1] "computing process 1/1: test_itemfit" | | | 0% | |+++++++++++++++++ | 33% | |+++++++++++++++++++++++++++++++++ | 67% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 3 --- Runtime: 1.56 seconds Fit: 3 ----------------------- Pre-defined set of item combinations ('combos' parameter was usedTested Scale lengths: 5 Total number of tested item combinations: 5 Applied tests (in order of usage): test_itemfit ----------------------- Number of passed item combinations by test (total): test_itemfit : 3 ----------------------- Item importance: Item #2 (V07): 3x (100%) Item #7 (V22): 3x (100%) Item #10 (V25): 2x (67%) Item #15 (V39): 2x (67%) Item #1 (V06): 1x (33%) Item #3 (V08): 1x (33%) Item #4 (V09): 1x (33%) Item #12 (V27): 1x (33%) Item #13 (V28): 1x (33%) ----------------------- Total runtime (tests): 1.56 seconds Total runtime (constructing passed_exRa object): 0 seconds ----------------------- ----------------------- Pre-defined set of item combinations ('combos' parameter was usedTested Scale lengths: 5 Total number of tested item combinations: 5 Applied tests (in order of usage): test_itemfit ----------------------- Number of passed item combinations by test (total): test_itemfit : 3 ----------------------- Item importance: Item #2 (V07): 3x (100%) Item #7 (V22): 3x (100%) Item #10 (V25): 2x (67%) Item #15 (V39): 2x (67%) Item #1 (V06): 1x (33%) Item #3 (V08): 1x (33%) Item #4 (V09): 1x (33%) Item #12 (V27): 1x (33%) Item #13 (V28): 1x (33%) ----------------------- Total runtime (tests): 1.56 seconds Total runtime (constructing passed_exRa object): 0 seconds ----------------------- Scale-Length: 4 initial combos: 15 [1] "computing process 1/1: test_itemfit" | | | 0% | |++++++ | 12% | |++++++++++++ | 25% | |+++++++++++++++++++ | 38% | |+++++++++++++++++++++++++ | 50% | |+++++++++++++++++++++++++++++++ | 62% | |++++++++++++++++++++++++++++++++++++++ | 75% | |++++++++++++++++++++++++++++++++++++++++++++ | 88% | |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% Item combinations that passed test_itemfit: 0 --- Runtime: 1.89 seconds Fit: 0 ----------------------- Tested Scale lengths: 4 Total number of tested item combinations: 15 Applied tests (in order of usage): test_itemfit ----------------------- Number of passed item combinations by test (total): test_itemfit : 0 ----------------------- Item importance: Item # (): NAx (NA%) Item # (): x (%) ----------------------- Total runtime (tests): 1.89 seconds Total runtime (constructing passed_exRa object): 0 seconds ----------------------- Loading required package: partykit Loading required package: grid Loading required package: libcoin Loading required package: mvtnorm Loading required package: psychotools [ FAIL 0 | WARN 2 | SKIP 0 | PASS 66 ] [ FAIL 0 | WARN 2 | SKIP 0 | PASS 66 ] > > > > ### unit tests package coverage version 0.3.2 (2024-12-05) > # exhaustiveRasch Coverage: 88.08% > # R/test_waldtest.R: 80.00% > # R/pairwise_functions.R: 81.82% > # R/parallized_tests.R: 83.64% > # R/exhaustive_tests.R: 84.97% > # R/test_DIFtree.R: 85.19% > # R/tests_psychotools.R: 85.38% > # R/test_PSI.R: 86.21% > # R/threshold_order.R: 86.36% > # R/remove_subsets.R: 87.50% > # R/fit_rasch.R: 89.47% > # R/summary.passed_exRa.R: 90.48% > # R/test_itemfit.R: 91.80% > # R/test_personsItems.R: 94.12% > # R/add_ICs.R: 94.44% > # R/apply_combo_rules.R: 95.65% > # R/test_respca.R: 96.43% > # R/all_rawscores.R: 100.00% > # R/check_combo_rules.R: 100.00% > # R/estimation_control.R: 100.00% > # R/itemfit_control.R: 100.00% > # R/no_test.R: 100.00% > # R/test_LR.R: 100.00% > # R/test_mloef.R: 100.00% > > proc.time() user system elapsed 11.79 0.93 43.62