- Created new vignette
*Replicate_SPSS_psych*to show replication of original`psych`

and`SPSS`

EFA solutions with`EFAtools`

.

- Added function
`FACTOR_SCORES()`

to calculate factor scores from a solution from`EFA()`

. This is just a wrapper for the`psych::factor.scores`

function. - Added function
`SCREE()`

that does a scree plot. Also added respective print and plot methods.

`CD()`

: Added check for whether entered data is a tibble, and if so, convert to vanilla data.frame to avoid breaking the procedure.`EFA()`

:- Updated the EFAtools type in PAF and Pomax.
- Added p value for chi square value in output (calculated for ML and ULS fitting methods).
- Updated the SPSS varimax implementation to fit SPSS results more closesly.
- Created an argument “varimax_type” that is set according to the specified type, but that can also be specified individually. With type R psych and EFAtools, the stats::varimax is called by default (
`varimax_type = "svd"`

), with type SPSS, the reproduced SPSS varimax implementation is used (`varimax_type = "kaiser"`

). - Renamed the
`kaiser`

argument (controls if a Kaiser normalization is done or not) into`normalize`

to avoid confusion with the`varimax_type`

argument specifications.

`ML()`

: Changed default start method to “psych”.`N_FACTORS()`

:- Added option to do a scree plot if “SCREE” is included in the
`criteria`

argument. - Added a progress bar.

- Added option to do a scree plot if “SCREE” is included in the
`OMEGA()`

: Now also works with a lavaan second-order solution as input. In this case, it does a Schmid-Leiman transformation based on the first- and second-order loadings first and computes omegas based on this Schmid-Leiman solution.`SL()`

: Now also works with a lavaan second-order solution as input (first- and second-order loadings taken directly from lavaan output).

`.get_compare_matrix()`

: Fixed a bug that occurred when names of data were longer than n_char`COMPARE()`

: Fixed a bug that occurred when using`reorder = "names"`

.`EFA()`

: RMSEA is now set to 1 if it is > 1.`HULL()`

: Fixed a bug that occurred when no factors are located on the HULL`KMO()`

: Fixed a bug that the inverse of the correlation matrix was not taken anew after smoothing was necessary.`PARALLEL()`

:- Fixed a bug that occurred when using
`decision_rule = "percentile"`

- Relocated error messages that were not evaluated if no data were entered (and should be)

- Fixed a bug that occurred when using
`print.COMPARE()`

: Fixed a bug that occurred when using`print_diff = FALSE`

in`COMPARE()`

.`print.KMO()`

: Fixed a bug that printed two statements instead of one, when the KMO value was < .6.

`OMEGA()`

and`SL()`

: Added an error message if the entered term in`g_name`

is invalid (i.e., it cannnot be found among the factor names of the entered lavaan solution).

- Added an error message in
`PARALLEL()`

if no solution has been found after 25 tries.

Updated different tests

Deleted no longer used packages from Imports and Suggests in DESCRIPTION

`PARALLEL()`

: fixed a bug in indexing if method`"EFA"`

was used.

- Added a
`NEWS.md`

file to track changes to the package. - Initial CRAN submission