Skip to content

Bug in cli expression likely warning against bad target_date #473

@brookslogan

Description

@brookslogan
suppressPackageStartupMessages({
library(epidatr)
library(epiprocess)
library(epipredict)
library(dplyr)
})
cce <- covidcast_epidata()
discontinued_signal <- cce$signals$"hhs:confirmed_admissions_covid_1d"$call("state", "ri", "*")
discontinued_signal %>%
  select(geo_value, time_value, value) %>%
  as_epi_df(as_of = as.Date("2026-02-10")) %>%
  arx_forecaster("value", args_list = arx_args_list(target_date = as.Date("2026-02-10") + 7L))
#> Error in "fun(..., .envir = .envir)": ! Could not evaluate cli `{}` expression: `ahead`.
#> Caused by error in `eval(expr, envir = envir)`:
#> ! object 'ahead' not found

Created on 2026-02-10 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions