Thank you for taking the time to contribute to VECM, your support is appreciated.
Please read our Code of Conduct, avoid inappropriate behavior and respect the community.
There are several ways to contribute to VECM. You can
-
Submit a bug report in an issue.
-
Propose an idea for a new feature in a discussion.
-
Improve the documentation.
Issues are used to track bugs, feature requests, and more.
To report a bug, please use our bug report template. It will help you give us all the information we need to fix the bug.
If you have ideas for new features or want to improve the documentation, please do not submit an issue. Instead, follow the instructions in the sections below.
The discussion forum is a place where you can ask questions, suggest ideas for new features, or give feedback.
When opening a discussion, please classify it by applying the correct label. The labels currently available are
- 💬: feedback.
- 🗣: general.
- 🆘: help.
- 💡: idea.
If you start a discussion to propose a new feature
-
Provide a clear and concise description of what the feature does.
-
Explain how to implement the feature. If it helps, you can include a draft of the code.
-
Highlight the advantages of the feature.
Good documentation helps users understand the package better.
There are several ways to contribute to the documentation. You can
-
Fix typos, spelling mistakes, or grammatical errors.
-
Improve the description of functions.
-
Propose better examples.
To implement any of the above, follow these steps:
-
Go to the
R
folder in the code repository. -
Locate the file that contains the function you want to modify.
-
Edit the file.
-
Propose the file change.
The pull request process consists of the following steps:
-
Fork the repository into your GitHub account.
-
Clone the forked repository to your local system.
Steps 1 and 2 can be implemented using the
usethis::create_from_github(repo_spec = "github-repository", fork = TRUE)
function.
- Install all development dependencies and make sure the package passes all checks.
Step 3 can be implemented by running
devtools::install_dev_deps()
anddevtools::check()
consecutively.
- Create a new branch for your pull request.
Step 4 can be implemented using the
usethis::pr_init("github-branch-name")
function.
-
Make your changes.
-
Commit and push the changes to GitHub.
Step 6 can be implemented by calling the
usethis::pr_push()
function and following the prompts in your browser.
Fixes # (issue)
.
This contribution guide is inspired by the template of Peter Desmet and the template of the usethis package.
The bug report template builds on the Embedded Artistry’s template.