r + ML : predict()

You are either making a shiny mistake, or a working with your models mistake.
We can't see your code so we can't say.
If you can make a plain script in R without shiny, that does what you want with the models; then you probably identify that you are making some shiny related mistake.

I'll link you to the shiny debugging and reprex guide all the same.