Skip to content

Commit fdaed96

Browse files
committed
update news and version number
1 parent 5d38d87 commit fdaed96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: pollster
22
Type: Package
33
Title: Calculate Crosstab and Topline Tables of Weighted Survey Data
4-
Version: 0.1.1.9000
4+
Version: 0.1.2
55
Author: John D. Johnson [aut, cre]
66
Maintainer: John D. Johnson <john.d.johnson@marquette.edu>
77
Description: Calculate common types of tables for weighted survey data.
@@ -31,5 +31,5 @@ Suggests:
3131
License: CC0
3232
Encoding: UTF-8
3333
LazyData: true
34-
RoxygenNote: 7.0.2
34+
RoxygenNote: 7.1.0
3535
VignetteBuilder: knitr

NEWS.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# pollster 0.1.1.9000
1+
# pollster 0.1.2
22

3-
* due to new updates in tidyr ([discussed here](https://github.com/tidyverse/tidyr/issues/839)), `pivot_wider` no longer arranges columns according to their factor levels. The development version of tidyr contains a fix to this bug, but until then the pollster functions `crosstab` and `crosstab_3way` are reverting back to `tidyr::spread`. Because the functions `moe_crosstab` and `moe_crosstab_3way` work by passing two columns to the `values_from` argument (a feature unavailable in `spread`) they cannot be reverted. Thus in some cases `crosstab` and `moe_crosstab` may return tibbles with different column orders. This behavior will be fixed as soon as tidyr is updated.
3+
* pollster now depends on the most recent version of tidyr (1.1.0) because it uses the argument `names_sort = TRUE` to ensure that `tidyr::pivot_wider` arranges rows and columns in the order of their factor levels.
44

55
# pollster 0.1.1
66

0 commit comments

Comments
 (0)