Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No method for prepare_population_for_modelling for class of conmat_population #169

Open
MikeLydeamore opened this issue Jul 26, 2024 · 0 comments

Comments

@MikeLydeamore
Copy link
Collaborator

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')"

Created on 2024-07-26 with reprex v2.0.2

There is a conmat_population method (in get-age-population-function-internals.R, line 20) but it doesn't seem like it's being exported properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant