Changelog
Source:NEWS.md
rwa (development version)
- Added
rwa_logit()andrwa_multiregress()to support logistic regression and multiple regression. - Added new vignette to cover the new regression methods.
- Improved test coverage and minor bugfixes.
rwa 0.1.1
CRAN release: 2026-01-20
Improvements
-
Input validation: Added comprehensive validation for
rwa()parameters includingconf_level,n_bootstrap, non-numeric variables, zero-variance variables, and singular correlation matrices with informative error messages - Code refactoring: Consolidated duplicate RWA calculation code in bootstrap functions into a single internal helper
- Documentation: Added links to pkgdown site in README; fixed internal function documentation
Bug Fixes
- Fixed flaky bootstrap test by using a fixed random seed for reproducibility (#20)
rwa 0.1.0
CRAN release: 2025-07-16
New Features
-
Bootstrap confidence intervals: Added
bootstrap = TRUEparameter torwa()for statistical significance testing of relative weights -
Result sorting: Added
sort = TRUEparameter to automatically sort results by importance (descending order). Setsort = FALSEto preserve original predictor order - Comprehensive vignette: New detailed documentation covering methodology, examples, and best practices
- Enhanced documentation: Updated README and function documentation
Technical Improvements
-
Package compliance: Updated DESCRIPTION with proper
Authors@Rfield for CRAN submission - CI/CD: Enhanced GitHub Actions workflow with vignette building support
-
Dependencies: Added
boot,purrr, andutilspackages for bootstrap functionality - Code quality improvements: Fixed long lines in R code to meet CRAN standards
- Documentation cleanup: Improved code formatting and removed unused variables
- Enhanced vignette formatting: Cleaned up formatting in comprehensive vignette documentation
Bug Fixes
- Fixed vignette compilation issues
- Resolved R CMD check warnings and notes
- Removed unused variables to eliminate R CMD check notes
- Improved consistency in code formatting
Version 0.0.2
Re-submission to CRAN
- DOI references added to DESCRIPTION
- Added CodeFactor badge
- Typos in DESCRIPTION rectified
Version 0.0.1
First submission to CRAN (required to re-submit)
rwa()plot_rwa()remove_all_na_cols()-
%>%operator is exported