Skip to content

Commit

Permalink
Fix autoglobal!
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed Aug 1, 2024
1 parent cb42f7c commit 9bcb3af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions R/globals.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ utils::globalVariables(c(
"censored_obs_time", # <pad_zero>
"delay_lwr", # <pad_zero>
"delay_daily", # <pad_zero>
"obs_horizon", # <calculate_truncated_means>
"meanlog", # <calculate_truncated_means>
"sdlog", # <calculate_truncated_means>
"value", # <plot_relative_recovery>
"rel_value", # <plot_relative_recovery>
"case_type", # <plot_cases_by_obs_window>
Expand Down
2 changes: 1 addition & 1 deletion R/plot-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ calculate_cohort_mean <- function(data, type = c("cohort", "cumulative"),
#' @param distribution ...
#' @family plot
#' @importFrom stats integrate
#' @autoglobals
#' @autoglobal
#' @export
calculate_truncated_means <- function(draws, obs_at, ptime,
distribution = function(x, y, z) {
Expand Down

0 comments on commit 9bcb3af

Please sign in to comment.