Skip to content

Commit a67a324

Browse files
committed
fix: docstrings, review changes
1 parent 45a860a commit a67a324

40 files changed

+812
-1550
lines changed

DESCRIPTION

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Imports:
3939
lubridate,
4040
magrittr,
4141
purrr,
42-
R6,
4342
rlang,
4443
slider,
4544
tibble,
@@ -50,7 +49,9 @@ Imports:
5049
vctrs
5150
Suggests:
5251
covidcast,
52+
devtools,
5353
epidatr,
54+
here,
5455
knitr,
5556
outbreaks,
5657
rmarkdown,

NAMESPACE

+4-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ S3method(as_epi_df,data.frame)
66
S3method(as_epi_df,epi_df)
77
S3method(as_epi_df,tbl_df)
88
S3method(as_epi_df,tbl_ts)
9-
S3method(as_of,epi_archive)
109
S3method(as_tibble,epi_df)
1110
S3method(as_tsibble,epi_df)
1211
S3method(autoplot,epi_df)
@@ -16,6 +15,8 @@ S3method(dplyr_col_modify,col_modify_recorder_df)
1615
S3method(dplyr_col_modify,epi_df)
1716
S3method(dplyr_reconstruct,epi_df)
1817
S3method(dplyr_row_slice,epi_df)
18+
S3method(epix_slide,epi_archive)
19+
S3method(epix_slide,grouped_epi_archive)
1920
S3method(epix_truncate_versions_after,epi_archive)
2021
S3method(epix_truncate_versions_after,grouped_epi_archive)
2122
S3method(group_by,epi_archive)
@@ -34,9 +35,7 @@ S3method(print,epi_archive)
3435
S3method(print,epi_df)
3536
S3method(print,grouped_epi_archive)
3637
S3method(select,epi_df)
37-
S3method(slide,grouped_epi_archive)
3838
S3method(summary,epi_df)
39-
S3method(truncate_versions_after,grouped_epi_archive)
4039
S3method(ungroup,epi_df)
4140
S3method(ungroup,grouped_epi_archive)
4241
S3method(unnest,epi_df)
@@ -45,24 +44,22 @@ export(archive_cases_dv_subset)
4544
export(arrange)
4645
export(as_epi_archive)
4746
export(as_epi_df)
48-
export(as_of)
4947
export(as_tsibble)
5048
export(autoplot)
5149
export(clone)
5250
export(detect_outlr)
5351
export(detect_outlr_rm)
5452
export(detect_outlr_stl)
55-
export(epi_archive)
5653
export(epi_cor)
5754
export(epi_slide)
5855
export(epi_slide_mean)
5956
export(epi_slide_opt)
6057
export(epi_slide_sum)
6158
export(epix_as_of)
59+
export(epix_fill_through_version)
6260
export(epix_merge)
6361
export(epix_slide)
6462
export(epix_truncate_versions_after)
65-
export(fill_through_version)
6663
export(filter)
6764
export(group_by)
6865
export(group_modify)
@@ -79,8 +76,6 @@ export(next_after)
7976
export(relocate)
8077
export(rename)
8178
export(slice)
82-
export(slide)
83-
export(truncate_versions_after)
8479
export(ungroup)
8580
export(unnest)
8681
importFrom(checkmate,anyInfinite)
@@ -154,6 +149,7 @@ importFrom(rlang,arg_match)
154149
importFrom(rlang,as_label)
155150
importFrom(rlang,caller_arg)
156151
importFrom(rlang,caller_env)
152+
importFrom(rlang,check_dots_empty)
157153
importFrom(rlang,enquo)
158154
importFrom(rlang,enquos)
159155
importFrom(rlang,env)

NEWS.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicat
3232
## Breaking changes
3333

3434
- Switched `epi_df`'s `other_keys` default from `NULL` to `character(0)`; PR #390
35-
- Refactor `epi_archive` to use S3 instead of R6 for its object model. The calls to some functions will change, but the functionality will remain the same. It will also help us maintain the package better in the future. (#340)
35+
- Refactor `epi_archive` to use S3 instead of R6 for its object model. The
36+
functionality stay the same, but it will break the member function interface.
37+
For migration, convert `epi_archive$merge` to `epi_archive %>% epix_merge`
38+
(similar for `slide`, `fill_through_version`, `truncate_after_version`, and
39+
`as_of`) (#340).
3640

3741
# epiprocess 0.7.0
3842

0 commit comments

Comments
 (0)