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

minor bug in printing out warning of indicators with all missing values (actual change in data is ok) #31

Open
jarathomas opened this issue May 6, 2024 · 0 comments

Comments

@jarathomas
Copy link
Contributor

paste( probbase[missing.all + 1, 2-as.numeric(data.type == "WHO2016")], collapse = ", ")),

External causes have not been removed from probbase, so I think the indexing is off. Something like

 paste( probbase[-external.symps, ][missing.all + 1, 2-as.numeric(data.type == "WHO2016")], collapse = ", ")), 

should do the trick. This is a bit ugly, so maybe include probbase_no_ext <- probbase[-external.symps,] outside/before the call to warning() and then use probbase_no_ext[missing.all + 1, ... in the referenced line.

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