KWB-R / fhpredict

R Package for the Project Flusshygiene
https://kwb-r.github.io/fhpredict
MIT License
2 stars 0 forks source link

Error: Could not create a valid model! #53

Open hsonne opened 4 years ago

hsonne commented 4 years ago

Can and should we give a reason for this error raised from build_and_validate_model()?

Could not create a valid model!

Code to reproduce the error

name <- "spot-data_user-9_spot-31_2020-02-04.RData"
file <- system.file("extdata/testdata", name, package = "fhpredict")
spot_data <- kwb.utils::loadObject(file, "spot_data")
set.seed(1)
result <- fhpredict:::build_and_validate_model(spot_data)