Warnings for countreg package installation and zeroinfl function

The installation warnings are unrelated to your issue, they are only informing you that the binaries for those packages have been compiled with a slightly different R version than the one you are using, if you want them to go away, update your R version.

To improve your chances of getting help for your primary issue, please provide a proper REPRoducible EXample (reprex) illustrating your issue.