diff --git a/R/globals.R b/R/globals.R index 1de5f4568..172385bdf 100644 --- a/R/globals.R +++ b/R/globals.R @@ -55,6 +55,9 @@ utils::globalVariables(c( "censored_obs_time", # "delay_lwr", # "delay_daily", # + "obs_horizon", # + "meanlog", # + "sdlog", # "value", # "rel_value", # "case_type", # diff --git a/R/plot-helpers.R b/R/plot-helpers.R index d5b9df71c..2bb5f63dd 100644 --- a/R/plot-helpers.R +++ b/R/plot-helpers.R @@ -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) {