Mixed models in lme4 using glmer.
Additive mixed models in mgcv using gamm.
Removed glmer function and added to lme4 script.