-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate
adjust_infection_to_report()
, report_cases()
, and `samp…
…le_approx_dist()` (#597) * Deprecate adjust_infection_to_report() * Deprecate sample_approx_dist() * Deprecate report_cases() * Generate .Rd file * Add NEWS item * Fix wrong function name in NEWS * Linting: turn off missing_argument_linter for deprecation warning * Linting: use file.path() to construct paths instead of paste0. * Remove unnecessary nolint tags * Remove trailing comma * Add more details to deprecation warning * Assign details argument explicitly * Add pointers to replacement functions in the deprecation warnings * Revise example in report_cases to show use of simulate_secondary() * Refer to the right function in warning message * Revise examples in adjust_infection_to_reports to demonstrate use of simulate_secondary * Remove trailing whitespace --------- Co-authored-by: Sebastian Funk <[email protected]>
- Loading branch information
1 parent
4d95cde
commit 689f22d
Showing
9 changed files
with
175 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.