R Under development (unstable) (2024-10-25 r87268 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.

> library(testthat)
> library(powRICLPM)

Loaded powRICLPM (0.2.1):

  Author: Jeroen D. Mulder
  Documentation: https://jeroendmulder.github.io/powRICLPM
  Questions & issues: https://github.com/JeroenDMulder/powRICLPM/issues

> 
> test_check("powRICLPM")
> Estimator defaulting to `MLR` for skewed and/or kurtosed data.
> Estimator defaulting to `MLR` for skewed and/or kurtosed data.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.



Table: SUMMARY OF ANALYSIS

                        Number of replications 
----------------------  -----------------------
Requested:              2                      
Completed:              2                      
Convergence issues:     0                      
Inadmissible results:   0                      



Table: SUMMARY OF SIMULATION CONDITION

                               Value 
-----------------------------  ------
Skewness:                      0     
Kurtosis:                      0     
Constraints:                   none  
Bounds:                        FALSE 
Estimated measurement error:   FALSE 
Significance criterion:        0.05  



Table: SIMULATION RESULTS

             Population      Avg     Bias     Min      SD   SE Avg     MSE   Accuracy   Cover  Power 
-----------  -----------  ------  -------  ------  ------  -------  ------  ---------  ------  ------
RI_A~~RI_A   1.000         0.944   -0.056   0.838   0.150    0.132   0.014      0.517     1.0  1.0   
RI_B~~RI_B   1.000         0.979   -0.021   0.910   0.098    0.120   0.005      0.471     1.0  1.0   
RI_A~~RI_B   0.300         0.292   -0.008   0.259   0.046    0.100   0.001      0.394     1.0  1.0   
wA2~wA1      0.400         0.415    0.015   0.350   0.091    0.075   0.004      0.293     1.0  1.0   
wA2~wB1      0.150         0.110   -0.040   0.024   0.122    0.057   0.009      0.225     0.5  0.5   
wB2~wA1      0.200         0.210    0.010   0.193   0.024    0.060   0.000      0.236     1.0  1.0   
wB2~wB1      0.300         0.304    0.004   0.230   0.105    0.069   0.005      0.271     1.0  1.0   
wA3~wA2      0.400         0.412    0.012   0.376   0.051    0.061   0.001      0.241     1.0  1.0   
wA3~wB2      0.150         0.209    0.059   0.151   0.082    0.050   0.007      0.198     0.5  1.0   
wB3~wA2      0.200         0.181   -0.019   0.138   0.060    0.056   0.002      0.218     1.0  1.0   
wB3~wB2      0.300         0.343    0.043   0.276   0.095    0.061   0.006      0.237     1.0  1.0   
wA1~~wA1     1.000         1.052    0.052   0.989   0.089    0.127   0.007      0.500     1.0  1.0   
wB1~~wB1     1.000         1.087    0.087   1.006   0.115    0.115   0.014      0.449     1.0  1.0   
wA1~~wB1     0.300         0.331    0.031   0.299   0.045    0.097   0.002      0.379     1.0  1.0   
wA2~~wA2     0.781         0.829    0.048   0.758   0.101    0.065   0.007      0.255     0.5  1.0   
wA3~~wA3     0.781         0.814    0.032   0.805   0.013    0.048   0.001      0.190     1.0  1.0   
wB2~~wB2     0.834         0.870    0.036   0.791   0.112    0.071   0.008      0.277     1.0  1.0   
wB3~~wB3     0.834         0.810   -0.024   0.755   0.077    0.051   0.004      0.200     1.0  1.0   
wA2~~wB2     0.130         0.143    0.013   0.111   0.046    0.048   0.001      0.188     1.0  1.0   
wA3~~wB3     0.130         0.102   -0.028   0.076   0.037    0.035   0.001      0.138     1.0  1.0   

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.



Table: SUMMARY OF ANALYSIS

                        Number of replications 
----------------------  -----------------------
Requested:              2                      
Completed:              2                      
Convergence issues:     0                      
Inadmissible results:   0                      



Table: SUMMARY OF SIMULATION CONDITION

                               Value  
-----------------------------  -------
Skewness:                      0      
Kurtosis:                      0      
Constraints:                   within 
Bounds:                        FALSE  
Estimated measurement error:   FALSE  
Significance criterion:        0.05   



Table: SIMULATION RESULTS

             Population      Avg     Bias     Min      SD   SE Avg     MSE   Accuracy   Cover  Power 
-----------  -----------  ------  -------  ------  ------  -------  ------  ---------  ------  ------
RI_A~~RI_A   1.000         0.982   -0.018   0.896   0.121    0.121   0.008      0.473       1  1     
RI_B~~RI_B   1.000         1.000    0.000   0.942   0.082    0.115   0.003      0.451       1  1     
RI_A~~RI_B   0.300         0.316    0.016   0.301   0.020    0.095   0.000      0.371       1  1     
wA2~wA1      0.400         0.396   -0.004   0.349   0.066    0.057   0.002      0.223       1  1     
wA2~wB1      0.150         0.150    0.000   0.139   0.015    0.042   0.000      0.167       1  1     
wB2~wA1      0.200         0.190   -0.010   0.183   0.010    0.046   0.000      0.180       1  1     
wB2~wB1      0.300         0.313    0.013   0.242   0.101    0.056   0.005      0.219       1  1     
wA3~wA2      0.400         0.396   -0.004   0.349   0.066    0.057   0.002      0.223       1  1     
wA3~wB2      0.150         0.150    0.000   0.139   0.015    0.042   0.000      0.167       1  1     
wB3~wA2      0.200         0.190   -0.010   0.183   0.010    0.046   0.000      0.180       1  1     
wB3~wB2      0.300         0.313    0.013   0.242   0.101    0.056   0.005      0.219       1  1     
wA1~~wA1     1.000         1.021    0.021   0.989   0.046    0.112   0.002      0.437       1  1     
wB1~~wB1     1.000         1.085    0.085   1.019   0.093    0.107   0.011      0.420       1  1     
wA1~~wB1     0.300         0.326    0.026   0.321   0.007    0.088   0.001      0.346       1  1     
wA2~~wA2     0.781         0.819    0.037   0.791   0.038    0.043   0.002      0.170       1  1     
wA3~~wA3     0.781         0.819    0.037   0.791   0.038    0.043   0.002      0.170       1  1     
wB2~~wB2     0.834         0.833   -0.001   0.769   0.090    0.047   0.004      0.183       1  1     
wB3~~wB3     0.834         0.833   -0.001   0.769   0.090    0.047   0.004      0.183       1  1     
wA2~~wB2     0.130         0.113   -0.017   0.108   0.007    0.032   0.000      0.126       1  1     
wA3~~wB3     0.130         0.113   -0.017   0.108   0.007    0.032   0.000      0.126       1  1     

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.



Table: SUMMARY OF ANALYSIS

                        Number of replications 
----------------------  -----------------------
Requested:              2                      
Completed:              2                      
Convergence issues:     0                      
Inadmissible results:   0                      



Table: SUMMARY OF SIMULATION CONDITION

                               Value        
-----------------------------  -------------
Skewness:                      0            
Kurtosis:                      0            
Constraints:                   stationarity 
Bounds:                        FALSE        
Estimated measurement error:   FALSE        
Significance criterion:        0.05         



Table: SIMULATION RESULTS

             Population      Avg     Bias     Min      SD   SE Avg     MSE   Accuracy   Cover  Power 
-----------  -----------  ------  -------  ------  ------  -------  ------  ---------  ------  ------
RI_A~~RI_A   1.000         0.954   -0.046   0.816   0.194    0.130   0.021      0.510       1  1     
RI_B~~RI_B   1.000         0.953   -0.047   0.906   0.067    0.125   0.004      0.488       1  1     
RI_A~~RI_B   0.300         0.260   -0.040   0.233   0.037    0.103   0.002      0.403       1  1     
wA1=~A1      1.000         1.029    0.029   0.986   0.060    0.058   0.003      0.228       1  1     
wA2=~A2      1.000         1.027    0.027   0.917   0.155    0.071   0.013      0.278       1  1     
wA3=~A3      1.000         1.038    0.038   0.995   0.061    0.059   0.003      0.230       1  1     
wB1=~B1      1.000         1.069    0.069   1.039   0.043    0.055   0.006      0.216       1  1     
wB2=~B2      1.000         1.045    0.045   0.987   0.081    0.068   0.005      0.266       1  1     
wB3=~B3      1.000         1.017    0.017   0.950   0.095    0.056   0.005      0.221       1  1     
wA2~wA1      0.400         0.382   -0.018   0.301   0.114    0.061   0.007      0.239       1  1     
wA2~wB1      0.150         0.182    0.032   0.182   0.000    0.046   0.001      0.181       1  1     
wB2~wA1      0.200         0.217    0.017   0.209   0.011    0.050   0.000      0.196       1  1     
wB2~wB1      0.300         0.332    0.032   0.283   0.069    0.059   0.003      0.231       1  1     
wA3~wA2      0.400         0.382   -0.018   0.301   0.114    0.061   0.007      0.239       1  1     
wA3~wB2      0.150         0.182    0.032   0.182   0.000    0.046   0.001      0.181       1  1     
wB3~wA2      0.200         0.217    0.017   0.209   0.011    0.050   0.000      0.196       1  1     
wB3~wB2      0.300         0.332    0.032   0.283   0.069    0.059   0.003      0.231       1  1     
wA1~~wB1     0.300         0.344    0.044   0.330   0.019    0.064   0.002      0.252       1  1     
wA2~~wA2     0.781         0.767   -0.015   0.697   0.099    0.059   0.005      0.233       1  1     
wA3~~wA3     0.781         0.764   -0.018   0.687   0.109    0.061   0.006      0.238       1  1     
wB2~~wB2     0.834         0.790   -0.044   0.747   0.061    0.057   0.004      0.224       1  1     
wB3~~wB3     0.834         0.788   -0.046   0.737   0.072    0.059   0.005      0.231       1  1     
wA2~~wB2     0.000         0.150    0.150   0.145   0.008    0.041   0.023      0.161       0  1     
wA3~~wB3     0.000         0.095    0.095   0.069   0.037    0.031   0.010      0.123       0  1     

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using Mplus --

i Mplus input files for power analysis have been saved to 'D:\temp\RtmpeyVInQ'.

The conditions numbers correspond to the following conditions:


 Condition   Sample size   Time points   ICC   Reliability
----------  ------------  ------------  ----  ------------
         1          1000             4   0.5             1

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using Mplus --

i Mplus input files for power analysis have been saved to 'D:\temp\RtmpeyVInQ'.

The conditions numbers correspond to the following conditions:


 Condition   Sample size   Time points   ICC   Reliability
----------  ------------  ------------  ----  ------------
         1          2000             8   0.5          0.85

-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using Mplus --

i Mplus input files for power analysis have been saved to 'D:\temp\RtmpeyVInQ'.

The conditions numbers correspond to the following conditions:


 Condition   Sample size   Time points   ICC   Reliability
----------  ------------  ------------  ----  ------------
         1          2000             8   0.5          0.85

-- Checking Argument Input --


-- Checking Argument Input --

v Argument checking complete.

-- Performing Simulations Using lavaan --

v Simulations complete.


Table: SIMULATION RESULTS FOR wB2~wA1

 Sample size   Time points   ICC   Reliability   Population     Avg     Bias      Min      SD   SE Avg     MSE   Accuracy   Cover   Power   Error   Not converged   Inadmissible
------------  ------------  ----  ------------  -----------  ------  -------  -------  ------  -------  ------  ---------  ------  ------  ------  --------------  -------------
         500             3   0.4             1          0.2   0.067   -0.133   -0.006   0.104    0.095   0.023      0.373       1       0       0               0              0



Table: SUMMARY OF ANALYSIS

                        Number of replications 
----------------------  -----------------------
Requested:              2                      
Completed:              2                      
Convergence issues:     0                      
Inadmissible results:   0                      



Table: SUMMARY OF SIMULATION CONDITION

                               Value 
-----------------------------  ------
Skewness:                      0     
Kurtosis:                      0     
Constraints:                   none  
Bounds:                        FALSE 
Estimated measurement error:   FALSE 
Significance criterion:        0.05  



Table: SIMULATION RESULTS

             Population       Avg     Bias      Min      SD   SE Avg     MSE   Accuracy   Cover  Power 
-----------  -----------  -------  -------  -------  ------  -------  ------  ---------  ------  ------
RI_A~~RI_A   0.667          0.467   -0.200    0.207   0.367    0.173   0.107      0.677     0.5  0.5   
RI_B~~RI_B   0.667          0.686    0.019    0.674   0.017    0.095   0.000      0.373     1.0  1.0   
RI_A~~RI_B   0.200          0.229    0.029    0.101   0.181    0.090   0.017      0.352     0.5  0.5   
wA2~wA1      0.400          0.509    0.109    0.322   0.264    0.097   0.047      0.380     0.5  1.0   
wA2~wB1      0.150          0.205    0.055    0.091   0.162    0.092   0.016      0.359     0.5  0.5   
wB2~wA1      0.200          0.067   -0.133   -0.006   0.104    0.095   0.023      0.373     1.0  0.0   
wB2~wB1      0.300          0.127   -0.173    0.019   0.153    0.107   0.042      0.419     0.5  0.5   
wA3~wA2      0.400          0.378   -0.022    0.241   0.193    0.118   0.019      0.462     1.0  0.5   
wA3~wB2      0.150          0.081   -0.069   -0.044   0.177    0.100   0.020      0.393     1.0  0.5   
wB3~wA2      0.200          0.150   -0.050    0.066   0.118    0.098   0.009      0.383     1.0  0.5   
wB3~wB2      0.300          0.235   -0.065    0.190   0.065    0.105   0.006      0.411     1.0  0.5   
wA1~~wA1     1.000          1.243    0.243    0.972   0.383    0.178   0.132      0.699     0.5  1.0   
wB1~~wB1     1.000          0.979   -0.021    0.974   0.008    0.102   0.000      0.400     1.0  1.0   
wA1~~wB1     -0.420        -0.440   -0.020   -0.511   0.100    0.098   0.005      0.383     1.0  1.0   
wA2~~wA2     0.868          0.835   -0.033    0.742   0.132    0.078   0.010      0.306     1.0  1.0   
wA3~~wA3     0.868          0.831   -0.037    0.767   0.090    0.077   0.005      0.303     1.0  1.0   
wB2~~wB2     0.920          0.816   -0.104    0.806   0.014    0.101   0.011      0.396     1.0  1.0   
wB3~~wB3     0.920          0.833   -0.087    0.778   0.078    0.072   0.011      0.283     0.5  1.0   
wA2~~wB2     -0.482        -0.458    0.024   -0.518   0.084    0.068   0.004      0.265     1.0  1.0   
wA3~~wB3     -0.482        -0.437    0.045   -0.477   0.057    0.058   0.004      0.229     1.0  1.0   
[ FAIL 0 | WARN 1 | SKIP 0 | PASS 141 ]

[ FAIL 0 | WARN 1 | SKIP 0 | PASS 141 ]
> 
> proc.time()
   user  system elapsed 
 128.26    3.48  131.75