Thank you for taking the time to contribute to SampleSizeWass, your support is appreciated.
Please read our Code of Conduct, avoid inappropriate behavior and respect the community.
There are several ways to contribute to SampleSizeWass. 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.
$\underline{\text{Attention!}}$ Before creating a new issue, check if a related issue already exists. You may find the GitHub search guide helpful.
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
r emo::ji("speech_balloon")
: feedback.r emo::ji("speaking_head")
: general.r emo::ji("sos")
: help.r emo::ji("light_bulb")
: 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.
$\underline{\text{Attention!}}$ Until the feature is approved, pull requests related to it will not be accepted.
$\underline{\text{Attention!}}$ Your code should follow the tidyverse style guide.
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.
$\underline{\text{Attention!}}$ When documenting functions, please use the roxygen2 comments together with the R Markdown syntax.
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.
Step 3 can be implemented by running
devtools::install_dev_deps()
anddevtools::check()
consecutively.
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.
$\underline{\text{Attention!}}$ The title of the pull request should briefly describe the changes you have made. If the pull request fixes an issue, the body of your pull request should also contain 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.