mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-16 21:00:16 +00:00
Ensures that `add_regressor` and `add_seasonality` are valid column names
to R, to ensure that the generated columns are then used downstream to fit
the model.
Why not put it in `validate_column_names`? Because `validate_column_names` is
also used to validate if holiday names (which can be scalar values in columns) are
valid. We want to allow `c('seans-bday', 'Xmas')` as a valid holiday input, so we
cannot then put it there.
Tested these changes by using devtools::testthat().
Resolves: #996
|
||
|---|---|---|
| .. | ||
| data | ||
| data-raw | ||
| inst/stan | ||
| man | ||
| R | ||
| src | ||
| tests | ||
| vignettes | ||
| .Rbuildignore | ||
| DESCRIPTION | ||
| LICENSE | ||
| NAMESPACE | ||