# \donttest{
# combine PHENIPS with the diapause submodel of PHENIPS-Clim
m <- model_combine('phenips',
list(model = 'phenips-clim', submodels = 'diapause'))
# calculate phenology
p <- phenology(m, barrks_data(), .quiet = TRUE)
# plot calculated generations
gens <- get_generations_rst(p)
terra::plot(gens)
# }
Run the code above in your browser using DataLab