[5] ERROR: could not find function "glmer"

This may sound stupid but are you sure you loaded lme-4?

I.E. library(lme-4)

Can you send some code and sample data?