Minor improvements and bug fixes
- Some tests, examples, and parts of the vignettes are now conditionnal
- Fix issues related to assumption check functions
- Fix some typos in documentation
- Small maintenance tasks
Minor improvements and bug fixes
- Internal tests relying on external packages (e.g., “mediation”) are now conditional
- Internal test relying on the processR package has been removed as this package is no longer on CRAN
- Update the documentation website associated with JSmediation (https://jsmediation.cedricbatailler.me/)
New features
- New functions
check_assumptions
and plot_assumptions
which helps testing the OLS assumptions of the regressions models underlying the mediation test.
- New function
compute_indirect_effect_for()
which computes the indirect effect confidence interval for a specific value of the moderator in a moderated mediation model.
- New function
standardize_variable
which helps centering and reducing numeric variables.
Documentation features
- New vignette
vignette("moderated-mediation")
illustrates moderated mediation analyses.
vignette("jsmediation")
has been rewritten to account for the recent changes.
New features
- Add new test to check if the computation of confidence interval works as intended.
- New home for the documentation at https://jsmediation.cedricbatailler.me
- Using testthat 3rd edition.
Bug fixes
- Fix an error in how confidence intervals for moderated mediation index was computed when
stage = "total"
.
Bug fixes
- Fix typo in the documentation.
- Fix an error related to the type of internal variables.
- Initial release.
- Added a
NEWS.md
file to track changes to the package.