|
1 | 1 | NEWS |
2 | 2 | ==== |
3 | 3 |
|
4 | | -# janitor 0.2.1.9000 (in progress) |
| 4 | +# janitor 0.3.0 (Release date: 2017-05-06) |
| 5 | + |
| 6 | +## Release summary |
| 7 | + |
| 8 | +The primary purpose of this release is to maintain accuracy given the changes to the dplyr package, upon which janitor is built, in dplyr version 0.6.0. This update also contains a number of minor improvements. |
| 9 | + |
| 10 | +**Critical: if you update the package `dplyr` to version 0.6.0, you *must* update janitor to version 0.3.0 to ensure accurate results from janitor's `tabyl()` function.** This is due to a change in the behavior of dplyr's `_join` functions (*discussed in [#111)](https://github.com/sfirke/janitor/issues/111)*. |
| 11 | + |
| 12 | +janitor 0.3.0 is compatible with this new version of dplyr as well as old versions of dplyr back to 0.5.0. That is, updating janitor to 0.3.0 does not necessitate an update to dplyr 0.6.0. |
| 13 | + |
5 | 14 |
|
6 | 15 | ## Breaking changes |
7 | | -* The first argument of `adorn_crosstab()` is now "dat" instead of "crosstab" (since the function can be called on any data.frame, not just a result of `crosstab()`) |
8 | 16 | * The functions `add_totals_row` and `add_totals_col` were combined into a single function, `adorn_totals()`. [(#57)](https://github.com/sfirke/janitor/issues/57). The `add_totals_` functions are now deprecated and should not be used. |
| 17 | +* The first argument of `adorn_crosstab()` is now "dat" instead of "crosstab" (indicating that the function can be called on any data.frame, not just a result of `crosstab()`) |
9 | 18 |
|
10 | 19 | ## Features |
11 | 20 |
|
12 | | - |
13 | 21 | ### Major |
14 | 22 |
|
15 | 23 | * Exported the `%>%` pipe from magrittr [(#107)](https://github.com/sfirke/janitor/issues/107). |
|
20 | 28 | * `add_totals_row()` and `add_totals_col()` - replaced by the single function `adorn_totals()` |
21 | 29 |
|
22 | 30 | ### Minor |
23 | | -* `adorn_totals()` and `ns_to_percents()` can now be called on data.frames that have non-numeric columns beyond the first one (they will be ignored) [(#57)](https://github.com/sfirke/janitor/issues/57) |
24 | | -* `adorn_totals("col")` retains factor class in 1st column if that was the input |
| 31 | +* `adorn_totals()` and `ns_to_percents()` can now be called on data.frames that have non-numeric columns beyond the first one (those columns will be ignored) [(#57)](https://github.com/sfirke/janitor/issues/57) |
| 32 | +* `adorn_totals("col")` retains factor class in 1st column if 1st column in the input data.frame was a factor |
25 | 33 |
|
26 | 34 | ## Bug fixes |
27 | | -* Long variable names with spaces no longer break `tabyl()` and `crosstab()` [(#87)](https://github.com/sfirke/janitor/issues/87) |
28 | 35 | * `clean_names()` now handles leading spaces [(#85)](https://github.com/sfirke/janitor/issues/85) |
29 | 36 | * `adorn_crosstab()` and `ns_to_percents()` work on a 2-column data.frame [(#89)](https://github.com/sfirke/janitor/issues/89) |
30 | 37 | * `adorn_totals()` now works on a grouped tibble [(#97)](https://github.com/sfirke/janitor/issues/97) |
| 38 | +* Long variable names with spaces no longer break `tabyl()` and `crosstab()` [(#87)](https://github.com/sfirke/janitor/issues/87) |
31 | 39 | * An `NA_` column in the result of a `crosstab()` will appear at the last column position [(#109)](https://github.com/sfirke/janitor/issues/109) |
32 | 40 |
|
| 41 | + |
33 | 42 | # janitor 0.2.1 (Release date: 2016-10-30) |
34 | 43 |
|
35 | 44 | ## Bug fixes |
|
0 commit comments