@@ -4,6 +4,30 @@ Note that `epiprocess` uses the [Semantic Versioning
4
4
("semver")] ( https://semver.org/ ) scheme for all release versions, but any
5
5
inter-release development versions will include an additional ".9999" suffix.
6
6
7
+ ## Breaking changes:
8
+
9
+ * ` epix_slide ` has been made more like ` dplyr::group_modify ` . It will no longer
10
+ perform element/row recycling for size stability, accepts slide computation
11
+ outputs containing any number of rows, and no longer supports ` all_rows ` .
12
+ * To keep the old behavior, manually perform row recycling within ` f `
13
+ computations, and/or ` left_join ` a data frame representing the desired
14
+ output structure with the current ` epix_slide() ` result to obtain the
15
+ desired repetitions and completions expected with ` all_rows = TRUE ` .
16
+ * ` epix_slide ` will only output grouped or ungrouped tibbles. Previously, it
17
+ would sometimes output ` epi_df ` s, but not consistently, and not always with
18
+ the metadata desired. Future versions will revisit this design, and consider
19
+ more closely whether/when/how to output an ` epi_df ` .
20
+ * To keep the old behavior, convert the output of ` epix_slide() ` to ` epi_df `
21
+ when desired and set the metadata appropriately.
22
+
23
+ ## Improvements:
24
+
25
+ * ` epi_slide ` and ` epix_slide ` now support ` as_list_col = TRUE ` when the slide
26
+ computations output atomic vectors, and output a list column in "chopped"
27
+ format (see ` tidyr::chop ` ).
28
+ * ` epi_slide ` now works properly with slide computations that output just a
29
+ ` Date ` vector, rather than converting ` slide_value ` to a numeric column.
30
+
7
31
# epiprocess 0.6.0
8
32
9
33
## Breaking changes:
@@ -23,6 +47,13 @@ inter-release development versions will include an additional ".9999" suffix.
23
47
* Slide functions now keep any grouping of ` x ` in their results, like
24
48
` mutate ` and ` group_modify ` .
25
49
* To obtain the old behavior, ` dplyr::ungroup ` the slide results immediately.
50
+ * Additional ` epi_slide ` changes:
51
+ * When using ` as_list_col = TRUE ` together with ` ref_time_values ` and
52
+ ` all_rows=TRUE ` , the marker for excluded computations is now a ` NULL ` entry
53
+ in the list column, rather than a ` NA ` ; if you are using ` tidyr::unnest() `
54
+ afterward and want to keep these missing data markers, you will need to
55
+ replace the ` NULL ` entries with ` NA ` s. Skipped computations are now more
56
+ uniformly detectable using ` vctrs ` methods.
26
57
* Additional` epix_slide ` changes:
27
58
* ` epix_slide ` 's ` group_by ` argument has been replaced by ` dplyr::group_by ` and
28
59
` dplyr::ungroup ` S3 methods. The ` group_by ` method uses "data masking" (also
0 commit comments