@@ -16,12 +16,33 @@ inter-release development versions will include an additional ".9999" suffix.
1616
1717## New features:
1818
19+ * ` epix_slide ` has been made more like ` dplyr::group_modify ` . It will no longer
20+ perform element/row recycling for size stability, accepts slide computation
21+ outputs containing any number of rows, and no longer supports ` all_rows ` .
22+ * To keep the old behavior, manually perform row recycling within ` f `
23+ computations, and/or ` left_join ` a data frame representing the desired
24+ output structure with the current ` epix_slide() ` result to obtain the
25+ desired repetitions and completions expected with ` all_rows = TRUE ` .
26+ * ` epix_slide ` will only output grouped or ungrouped tibbles. Previously, it
27+ would sometimes output ` epi_df ` s, but not consistently, and not always with
28+ the metadata desired. Future versions will revisit this design, and consider
29+ more closely whether/when/how to output an ` epi_df ` .
30+ * To keep the old behavior, convert the output of ` epix_slide() ` to ` epi_df `
31+ when desired and set the metadata appropriately.
1932* ` epix_slide ` ` f ` computations passed as functions or formulas now have
2033 access to the reference time value. If ` f ` is a function, it is passed a
2134 Date containing the reference time value as the third argument. If a
2235 formula, ` f ` can access the reference time value via ` .z ` or
2336 ` .ref_time_value ` .
2437
38+ ## Improvements:
39+
40+ * ` epi_slide ` and ` epix_slide ` now support ` as_list_col = TRUE ` when the slide
41+ computations output atomic vectors, and output a list column in "chopped"
42+ format (see ` tidyr::chop ` ).
43+ * ` epi_slide ` now works properly with slide computations that output just a
44+ ` Date ` vector, rather than converting ` slide_value ` to a numeric column.
45+
2546# epiprocess 0.6.0
2647
2748## Breaking changes:
@@ -41,6 +62,13 @@ inter-release development versions will include an additional ".9999" suffix.
4162 * Slide functions now keep any grouping of ` x ` in their results, like
4263 ` mutate ` and ` group_modify ` .
4364 * To obtain the old behavior, ` dplyr::ungroup ` the slide results immediately.
65+ * Additional ` epi_slide ` changes:
66+ * When using ` as_list_col = TRUE ` together with ` ref_time_values ` and
67+ ` all_rows=TRUE ` , the marker for excluded computations is now a ` NULL ` entry
68+ in the list column, rather than a ` NA ` ; if you are using ` tidyr::unnest() `
69+ afterward and want to keep these missing data markers, you will need to
70+ replace the ` NULL ` entries with ` NA ` s. Skipped computations are now more
71+ uniformly detectable using ` vctrs ` methods.
4472* Additional` epix_slide ` changes:
4573 * ` epix_slide ` 's ` group_by ` argument has been replaced by ` dplyr::group_by ` and
4674 ` dplyr::ungroup ` S3 methods. The ` group_by ` method uses "data masking" (also
0 commit comments