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
This outlines how to propose a change to bayesplot and is based on similar
4
+
instructions for tidyverse packages, including the contributing guidelines
5
+
generated by `usethis::use_tidy_contributing()`.
6
+
7
+
## Fixing typos
8
+
9
+
You can fix typos, spelling mistakes, or grammatical errors in the documentation
10
+
directly using the GitHub web interface, as long as the changes are made in the
11
+
_source_ file. This generally means you'll need to edit
12
+
[roxygen2 comments](https://roxygen2.r-lib.org/articles/roxygen2.html) in an `.R`,
13
+
not a `.Rd` file. You can find the `.R` file that generates the `.Rd` by reading
14
+
the comment in the first line.
15
+
16
+
## Bigger changes
17
+
18
+
If you want to make a bigger change, it's a good idea to first file an issue and
19
+
make sure someone from the team agrees that it’s needed. If you’ve found a bug,
20
+
please file an issue that illustrates the bug with a minimal reproducible
21
+
example (see e.g. the [tidyverse reprex instructions](https://www.tidyverse.org/help/#reprex)).
22
+
The tidyverse guide on [how to create a great issue](https://code-review.tidyverse.org/issues/)
23
+
has more advice.
24
+
25
+
### Pull request process
26
+
27
+
If you are new to creating pull requests here are some tips. Using the functions
28
+
from the `usethis` package is not required but can be helpful if this process is
29
+
new to you.
30
+
31
+
* Fork the package and clone onto your computer. If you haven't done this before, we recommend using `usethis::create_from_github("stan-dev/bayesplot", fork = TRUE)`.
32
+
33
+
* Install all development dependencies with `devtools::install_dev_deps()`, and then make sure the package passes R CMD check by running `devtools::check()`.
34
+
If R CMD check doesn't pass cleanly, it's a good idea to ask for help before continuing.
35
+
* Create a Git branch for your pull request (PR). We recommend using `usethis::pr_init("brief-description-of-change")`.
36
+
37
+
* Make your changes, commit to git, and then create a PR by running `usethis::pr_push()`, and following the prompts in your browser.
38
+
The title of your PR should briefly describe the change.
39
+
The body of your PR should contain `Fixes #issue-number`.
40
+
41
+
* For user-facing changes, add a bullet to the top of `NEWS.md` (i.e. just below the first header). Follow the style already used in `NEWS.md`.
42
+
43
+
### Code style
44
+
45
+
* New code should attempt to follow the style used in the package. When in doubt follow the tidyverse [style guide](https://style.tidyverse.org).
46
+
47
+
* We use [roxygen2](https://cran.r-project.org/package=roxygen2), with [Markdown syntax](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd-formatting.html), for documentation.
48
+
49
+
* We use [testthat](https://cran.r-project.org/package=testthat) for unit tests.
50
+
Contributions with test cases included are easier to accept.
51
+
52
+
## Code of Conduct
53
+
54
+
Please note that the bayesplot project follows the Stan project's
55
+
[Code of Conduct](https://discourse.mc-stan.org/t/announcing-our-new-stan-code-of-conduct/23764).
56
+
By contributing to this project you agree to abide by its terms.
Copy file name to clipboardExpand all lines: NEWS.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,17 @@
1
1
<!-- See http://style.tidyverse.org/news.html for advice on writing news -->
2
2
3
+
# bayesplot 1.11.0
4
+
5
+
* Update for new ggplot2 release by @teunbrand in #309
6
+
* Add `bins` argument to many histogram plots by @paul-buerkner in #300
7
+
* Follow ggplot2 updates on `facet_grid()` and `facet_wrap()` by @heavywatal in #305
8
+
* Better `ppc_loo_pit_qq` plots by @avehtari in #307
9
+
* Check `prob` is numeric for intervals plots by @tony-stone in #299
10
+
* Add `bins` and `breaks` arguments to more histogram and hex plots by @heavywatal in #313
11
+
* Replace `size` argument with `linewidth` for `geom_line` and `geom_ridgeline` by @heavywatal in #314
12
+
* All LOO plots now accept `psis_object` argument by @jgabry in #311
13
+
*`ppc_pit_ecdf()` and `ppc_pit_ecdf_grouped()` now support discrete variables, and their default method for selecting the number of ECDF evaluation points has been updated. by @TeemuSailynoja in #316
14
+
3
15
# bayesplot 1.10.0
4
16
5
17
* New function `mcmc_rank_ecdf()` for rank ecdf plots with confidence bands for
@@ -44,14 +56,14 @@ previous releases, but the new ones in this release are:
44
56
-`ppc_error_hist_grouped()`
45
57
-`ppc_error_scatter()`
46
58
-`ppc_error_binned()`
47
-
59
+
48
60
* New plotting function `ppc_km_overlay_grouped()`, the grouped variant of
49
61
`ppc_km_overlay()`. (#260, @fweber144)
50
62
51
63
*`ppc_scatter()`, `ppc_scatter_avg()`, and `ppc_scatter_avg_grouped()` gain an
52
64
argument `ref_line`, which can be set to `FALSE` to turn off the `x=y` line
53
65
drawn behind the scatterplot.
54
-
66
+
55
67
*`ppc_ribbon()` and `ppc_ribbon_grouped()` gain argument `y_draw` that specifies whether the observed y should be plotted using a point, line, or both. (#257, @charlesm93)
56
68
57
69
*`mcmc_*()` functions now support all draws formats from the **posterior** package. (#277, @Ozan147)
0 commit comments