add rep_len workaround for R < 3.0.0
preliminary implementation of checkScaleX
Merge branch 'master' of ssh://github.com/lme4/lme4