I think when we added the class conmat_population, an error where there is no prepare population for modelling class for our object has appeared:
library(conmat)
prepare_population_for_modelling(get_polymod_population())
#> Error in UseMethod("prepare_population_for_modelling"): no applicable method for 'prepare_population_for_modelling' applied to an object of class "c('conmat_population', 'tbl_df', 'tbl', 'data.frame')"
I think when we added the class
conmat_population
, an error where there is no prepare population for modelling class for our object has appeared:Created on 2024-07-26 with reprex v2.0.2
There is a
conmat_population
method (inget-age-population-function-internals.R
, line 20) but it doesn't seem like it's being exported properly.