Skip to content

Commit

Permalink
wip+feat: replace R6 epi_archive implementation with S3
Browse files Browse the repository at this point in the history
  • Loading branch information
dshemetov committed Mar 20, 2024
1 parent 3e00379 commit fadab2f
Show file tree
Hide file tree
Showing 53 changed files with 1,348 additions and 6,752 deletions.
3 changes: 0 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,16 @@ Depends:
URL: https://cmu-delphi.github.io/epiprocess/
Collate:
'archive.R'
'archive_new.R'
'autoplot.R'
'correlation.R'
'data.R'
'epi_df.R'
'epiprocess.R'
'group_by_epi_df_methods.R'
'methods-epi_archive.R'
'grouped_archive_new.R'
'grouped_epi_archive.R'
'growth_rate.R'
'key_colnames.R'
'methods-epi_archive_new.R'
'methods-epi_df.R'
'outliers.R'
'reexports.R'
Expand Down
34 changes: 11 additions & 23 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,53 +6,44 @@ S3method(as_epi_df,data.frame)
S3method(as_epi_df,epi_df)
S3method(as_epi_df,tbl_df)
S3method(as_epi_df,tbl_ts)
S3method(as_of,epi_archive2)
S3method(as_of,epi_archive)
S3method(as_tibble,epi_df)
S3method(as_tsibble,epi_df)
S3method(autoplot,epi_df)
S3method(clone,epi_archive2)
S3method(clone,grouped_epi_archive2)
S3method(clone,epi_archive)
S3method(clone,grouped_epi_archive)
S3method(dplyr_col_modify,col_modify_recorder_df)
S3method(dplyr_col_modify,epi_df)
S3method(dplyr_reconstruct,epi_df)
S3method(dplyr_row_slice,epi_df)
S3method(epix_truncate_versions_after,epi_archive)
S3method(epix_truncate_versions_after,epi_archive2)
S3method(epix_truncate_versions_after,grouped_epi_archive)
S3method(epix_truncate_versions_after,grouped_epi_archive2)
S3method(group_by,epi_archive)
S3method(group_by,epi_archive2)
S3method(group_by,epi_df)
S3method(group_by,grouped_epi_archive)
S3method(group_by,grouped_epi_archive2)
S3method(group_by_drop_default,grouped_epi_archive)
S3method(group_by_drop_default,grouped_epi_archive2)
S3method(group_modify,epi_df)
S3method(groups,grouped_epi_archive)
S3method(groups,grouped_epi_archive2)
S3method(key_colnames,data.frame)
S3method(key_colnames,default)
S3method(key_colnames,epi_archive)
S3method(key_colnames,epi_df)
S3method(next_after,Date)
S3method(next_after,integer)
S3method(print,epi_archive2)
S3method(print,epi_archive)
S3method(print,epi_df)
S3method(print,grouped_epi_archive2)
S3method(print,grouped_epi_archive)
S3method(select,epi_df)
S3method(slide,grouped_epi_archive2)
S3method(slide,grouped_epi_archive)
S3method(summary,epi_df)
S3method(truncate_versions_after,grouped_epi_archive2)
S3method(truncate_versions_after,grouped_epi_archive)
S3method(ungroup,epi_df)
S3method(ungroup,grouped_epi_archive)
S3method(ungroup,grouped_epi_archive2)
S3method(unnest,epi_df)
export("%>%")
export(archive_cases_dv_subset)
export(archive_cases_dv_subset_2)
export(arrange)
export(as_epi_archive)
export(as_epi_archive2)
export(as_epi_df)
export(as_of)
export(as_tsibble)
Expand All @@ -65,26 +56,21 @@ export(epi_archive)
export(epi_cor)
export(epi_slide)
export(epix_as_of)
export(epix_as_of2)
export(epix_merge)
export(epix_merge2)
export(epix_slide)
export(epix_slide2)
export(epix_truncate_versions_after)
export(fill_through_version)
export(filter)
export(group_by)
export(group_modify)
export(growth_rate)
export(is_epi_archive)
export(is_epi_archive2)
export(is_epi_df)
export(is_grouped_epi_archive)
export(is_grouped_epi_archive2)
export(key_colnames)
export(max_version_with_row_in)
export(mutate)
export(new_epi_archive2)
export(new_epi_archive)
export(new_epi_df)
export(next_after)
export(relocate)
Expand All @@ -94,7 +80,6 @@ export(slide)
export(truncate_versions_after)
export(ungroup)
export(unnest)
importFrom(R6,R6Class)
importFrom(checkmate,anyInfinite)
importFrom(checkmate,anyMissing)
importFrom(checkmate,assert)
Expand Down Expand Up @@ -130,12 +115,15 @@ importFrom(dplyr,bind_rows)
importFrom(dplyr,dplyr_col_modify)
importFrom(dplyr,dplyr_reconstruct)
importFrom(dplyr,dplyr_row_slice)
importFrom(dplyr,everything)
importFrom(dplyr,filter)
importFrom(dplyr,group_by)
importFrom(dplyr,group_by_drop_default)
importFrom(dplyr,group_modify)
importFrom(dplyr,group_vars)
importFrom(dplyr,groups)
importFrom(dplyr,if_all)
importFrom(dplyr,if_any)
importFrom(dplyr,mutate)
importFrom(dplyr,relocate)
importFrom(dplyr,rename)
Expand Down
Loading

0 comments on commit fadab2f

Please sign in to comment.