Skip to content

Commit b363084

Browse files
committed
Add NEWS.md for #471
1 parent 7e0193b commit b363084

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

NEWS.md

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicat
3434
format.
3535
- Improved documentation web site landing page's introduction.
3636

37+
## Cleanup
38+
- Added optional `decay_to_tibble` attribute controlling `as_tibble()` behavior
39+
of `epi_df`s to let `epipredict` work more easily with other libraries (#471).
40+
3741
# epiprocess 0.7.0
3842

3943
## Breaking changes:

R/methods-epi_df.R

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
#' Converts an `epi_df` object into a tibble, dropping metadata and any
44
#' grouping.
55
#'
6+
#' Advanced: if you are working with a third-party package that uses
7+
#' `as_tibble()` on `epi_df`s but you actually want them to remain `epi_df`s,
8+
#' use `attr(your_epi_df, "decay_to_tibble") <- FALSE` beforehand.
9+
#'
610
#' @template x
711
#' @param ... additional arguments to forward to `NextMethod()`
812
#'

man/as_tibble.epi_df.Rd

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)