Repository navigation
psymetrics 0.1.5
Bug Fixes and Improvements
-
Dependency Management: Moved
ggplot2andlavaanfromImportstoSuggeststo minimize mandatory dependencies. Functions now provide informative prompts if a required package is missing at runtime. -
Robustness: Functions that rely on suggested packages now use internal checks (
rlang::check_installed) to provide clearer error messages if dependencies are missing. -
Examples: Updated all examples to run conditionally, which prevents errors during
R CMD checkand provides a smoother user experience. -
S3 Method Registration: Ensured correct and robust S3 method registration for
plotandprintmethods, guaranteeing proper method dispatch by R. -
Testing: Added an initial
testthatsuite coveringmodel_fit,compare_model_fit, plotting, andsave_table, with optional dependency checks. -
Plotting: Replaced deprecated
geom_errorbarh()usage withgeom_errorbar()+orientation = "y"to align with currentggplot2guidance. -
Table Export & Formatting:
save_table()now accepts"portrait"(alias"vertical") for template orientation and forwards formatting arguments.prepare_table()respectsci_digitsinputs. -
Documentation:
- Added a central help page (
?plot-methods) to document the genericplotfunction. - Improved navigation between help files with
@Seealsocross-references. - Updated the package
TitleinDESCRIPTIONto better reflect its purpose ("Unified Tools for Psychometric Model Analysis").
- Added a central help page (
Full Changelog: v0.1.4...v0.1.5