Thank you for considering contributing to modsem
! We welcome contributions to help improve this package for estimating interaction effects in structural equation modeling (SEM). To ensure a smooth collaboration, please follow the guidelines below.
- Fork the repository on GitHub.
- Clone your fork to your local machine.
git clone https://github.com/your-username/modsem.git
cd modsem
- Ensure you have R installed on your machine.
- Install the package dependencies.
install.packages("devtools")
devtools::install_deps()
- Install the
modsem
package from your local repository.
devtools::install()
- Always create a new branch for your work.
git checkout -b your-branch-name
- Make your changes in the codebase.
- Ensure that your changes are well-documented.
- Write tests for your changes if applicable.
We also encourage contributions to the vignettes. If you have a new use case or example, feel free to add or alter vignettes to help demonstrate the functionality of modsem
.
- Run the tests to ensure your changes do not break existing functionality.
devtools::test()
- Push your changes to your fork.
git push origin your-branch-name
- Open a pull request on GitHub against the
main
branch of the original repository.
- Provide a clear and descriptive title for your pull request.
- Describe the changes you made and why they are necessary.
- Reference any related issues or pull requests.
- Ensure all tests pass and there are no merge conflicts.
If you encounter any issues or have suggestions for improvements, please open an issue on GitHub. Provide as much detail as possible to help us understand and address the issue.