This isn't really feasible without serious hacking: essentially, take an older version of lmerTest
, download the source, hack it to look for lme4.0
rather than lme4
, and install locally. Or download (from the CRAN archives) and install older versions of lme4
and lmerTest
(and pbkrtest
: maintaining an archaic setup will get progressively more difficult, and you will have to backport or forego bug fixes as they appear in newer versions).
Since many of the problems with new lme4
have been cleaned up with the switch in default optimizers from Nelder-Mead to BOBYQA, my advice would be to run a range of comparisons between lme4.0
and lme4
, convince yourself that there are no problems (and send information about persistent problems to the lme4
maintainers, who would greatly appreciate it!), and move on to the new version.