- Improve cross-refs in documentation
- Update authors info
- Some tests, examples, and parts of the vignettes are now conditional
- Fix issues related to assumption check functions
- Fix some typos in documentation
- Small maintenance tasks
- 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 functions
check_assumptions
andplot_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.
- New vignette
vignette("moderated-mediation")
illustrates moderated mediation analyses. vignette("jsmediation")
has been rewritten to account for the recent changes.
- 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.
- Fix an error in how confidence intervals for moderated mediation index was
computed when
stage = "total"
.
- 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.