R Under development (unstable) (2025-11-25 r89063 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. > # 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(LikertMakeR) > > test_check("LikertMakeR") Alert: Both cormatrix and data present. Using cormatrix by default. correlationMatrix is positive-definite correlationMatrix is positive-definite best solution in 1252 iterations reached maximum of 4096 iterations reached max iterations (1600) - best mean difference: 0.000105 reached max iterations (1600) - best mean difference: 0.000113 NOTE: makeItems() function is being deprecated Use the makeScales() function in future. Variable 1reached maximum of 1024 iterations Variable 2reached maximum of 1024 iterations Variable 3reached maximum of 1024 iterations Variable 4reached maximum of 1024 iterations Arranging data to match correlations Successfully generated correlated variables generate 17 rows rearrange 4 values within each of 17 rows Complete! desired Cronbach's alpha = 0.8 (achieved alpha = 0.8312) Initial data vectors reached maximum of 1024 iterations best solution in 130 iterations Arranging values to conform with desired t-value Complete! best solution in 153 iterations reached maximum of 10000 iterations best solution in 1169 iterations Variable 1 : Q1 - reached maximum of 16384 iterations Variable 2 : Q2 - reached maximum of 16384 iterations Variable 3 : Q3 - best solution in 1756 iterations Variable 4 : Q4 - reached maximum of 16384 iterations Arranging data to match correlations Successfully generated correlated variables Variable 1 : A - best solution in 2097 iterations Variable 2 : B - best solution in 4914 iterations Variable 3 : C - best solution in 4172 iterations Variable 4 : D - best solution in 5409 iterations Variable 5 : E - best solution in 3277 iterations Arranging data to match correlations Successfully generated correlated variables best solution in 1454 iterations best solution in 3628 iterations best solution in 863 iterations best solution in 608 iterations best solution in 263 iterations reached maximum of 1600 iterations Regression Data Generation Results =================================== Sample size: 40 Number of IVs: 2 IV Correlation Matrix: PROVIDED Key Statistics: --------------- Target R-squared: 0.3500 Achieved R-squared: 0.3208 Difference: -0.0292 Regression Coefficients (Standardised): Variable Target Achieved Diff Attitude 0.4 0.3989 -0.0011 Intention 0.3 0.2999 -0.0001 For full diagnostics, see $diagnostics For generated data, see $data [ FAIL 0 | WARN 0 | SKIP 0 | PASS 105 ] > > proc.time() user system elapsed 8.60 0.50 9.09