Skip to content

Commit 03cf6e3

Browse files
committed
describe changes in news and redocument
1 parent cc64f70 commit 03cf6e3

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: epiprocess
33
Title: Tools for basic signal processing in epidemiology
4-
Version: 0.11.3
4+
Version: 0.11.5
55
Authors@R: c(
66
person("Jacob", "Bien", role = "ctb"),
77
person("Logan", "Brooks", , "[email protected]", role = c("aut", "cre")),

NEWS.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicat
2222
for users without a compiler, we have placed `{trendfilter}` in Suggests:; if
2323
you want to use `method = "trendfilter"` you will need to manually install
2424
this dependency (e.g., with `remotes::install_github("glmgen/trendfilter")`).
25-
- In `revision_summary()`:
25+
- In `revision_summary()` (aliased to `revision_analysis()`):
2626
- The `should_compactify` argument is now called `compactify`. To migrate,
2727
change any calls with `should_compactfiy =` to `compactify =`.
2828
- Output now uses the name `lag_near_latest` instead of `time_near_latest`. To
@@ -36,6 +36,11 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicat
3636
- `min_waiting_period` now defines a nonstrict inequality instead of a strict
3737
one. To obtain the old bounds, bump the `min_waiting_period` up to the next
3838
possible value for your `time_type`.
39+
- Added a `print()` method to take the place of `print_inform`.
40+
- Removed the the argument `print_inform`. This is now always false. Replaced
41+
with an option, `return_only_tibble` to return only the tibble of results
42+
rather than the full S3 object.
43+
3944
- In `key_colnames()`:
4045
- On regular (non-`epi_df`) data frames, now requires manual specification of
4146
`geo_keys`, `other_keys`, and `time_keys`.
@@ -53,7 +58,7 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicat
5358
`.facet_filter` which allows explicit selection of facets to show.
5459

5560
## Improvements
56-
- `revision_summary()` now supports all `time_type`s.
61+
- `revision_summary()` now supports all `time_type`s. Printed summary is more attractive.
5762
- The compactification tolerance setting now works with integer-type columns.
5863
- Various functions are now faster, using faster variants of core operations and
5964
avoiding reconstructing grouped `epi_df`s when unnecessary.

R/revision_analysis.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
#' Using a `time_type` of `"integer"` with week numbers like 202501 will
7474
#' produce incorrect results for some calculations, since week numbering
7575
#' contains jumps at year boundaries.
76+
#'
77+
#' @return An S3 object with class `revision_behavior`. This function is typically
78+
#' called for the purposes of inspecting the printed output. The
79+
#' results of the computations are available in
80+
#' `revision_analysis(...)$revision_behavior`. If you only want to access
81+
#' the internal computations, use `return_only_tibble = TRUE`.
7682
#'
7783
#' @examples
7884
#' revision_example <- revision_analysis(archive_cases_dv_subset, percent_cli)

man/revision_analysis.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)