You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+45-10Lines changed: 45 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,53 @@
1
1
# Contributing to dabestr
2
2
3
-
## Did you find a bug?
4
-
- Ensure the bug was not already reported by searching in [Issues](https://github.com/ACCLAB/dabestr/issues). Check that the bug hasn't been addressed in a closed issue.
3
+
The guide is divided into three main pieces:
5
4
6
-
- If the bug isn't being addressed, open a new one. Be sure to include a title and clear description, and a [minimally reproducible code sample](http://adv-r.had.co.nz/Reproducibility.html) demonstrating the expected behavior that is not occurring.
5
+
1. Filing a bug in an issue.
6
+
1. Filing a feature request in an issue.
7
+
1. Suggesting a change via a pull request.
7
8
8
-
## Did you write a patch that fixes a bug?
9
-
- Open a new GitHub pull request with the patch.
9
+
Please note that dabestr is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.
10
10
11
-
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
11
+
## Issues
12
12
13
-
## Do you intend to add a new feature or change an existing one?
14
-
- Suggest your change by opening an issue, and adding an Enhancement tag.
15
-
- If the maintainers and the community are in favour, create a fork and start writing code.
13
+
Ensure the bug was not already reported by searching in [Issues](https://github.com/ACCLAB/dabestr/issues). Be sure to also check that the bug hasn't been addressed in a closed issue.
16
14
15
+
If the bug isn't being addressed, open a new one.
16
+
17
+
Be sure to include a title and clear description, and a [minimally reproducible code sample](http://adv-r.had.co.nz/Reproducibility.html) demonstrating the expected behavior that is not occurring.
18
+
19
+
## Feature Requests
20
+
21
+
You may suggest by opening an issue and adding an Enhancement tag.
22
+
23
+
## Pull requests
24
+
25
+
To contribute a change to dabestr, you follow these steps:
26
+
27
+
1. Create a fork and make your changes.
28
+
1. Issue a PR to the dev branch of dabestr.
29
+
1. Discuss the PR.
30
+
1. Iterate until either we accept the PR or decide it's not a good fit for dabestr.
31
+
32
+
Each of these steps are described in more detail below.
33
+
34
+
If you're not familiar with git or github, please start by reading http://r-pkgs.had.co.nz/git.html
35
+
36
+
### Guidelines
37
+
1.**Clarity**. Ensure PR description clearly describes the problem and the solution. Include the relevant issue number if applicable.
38
+
1.**Use dabestr coding style**. dabestr is currently following the [official tidyverse style](http://style.tidyverse.org/). You may choose to do so using the `styler` package by running the following on the code before submitting:
39
+
40
+
```r
41
+
# install.packages("styler")
42
+
styler::style_pkg()
43
+
```
44
+
3. If you're adding new parameters or a new function, you'll also need to document them with [roxygen](https://github.com/klutometis/roxygen). Make sure to re-run `devtools::document()` on the code before submitting.
45
+
3. If fixing a bug or adding a new feature, please add a [testthat](https://github.com/r-lib/testthat) unit test.
46
+
47
+
All PRs require review and approval from at least one member of the dabestr development team before merge.
48
+
49
+
Lastly, dabestr is a **community** tool for estimation statistics and analysis. We look forward to more robust and more elegant data visualizations from you all!
50
+
51
+
## Attribution
52
+
This Contributing guide is adapted from [ggplot2](https://ggplot2.tidyverse.org)'s [CONTRIBUTING.md](https://github.com/tidyverse/ggplot2/blob/main/CONTRIBUTING.md?plain=1).
17
53
18
-
dabestr is a community tool for estimation statistics and analysis. We look forward to more robust and more elegant data visualizations from you all!
0 commit comments