We only use a handful of functions from lme4 for processing random effects (findbars, nobars, mkReTrms). It looks like these functions have not been changed in 5+ years. Given that we don't actually use lme4 to fit models I think it could make more sense to copy these functions to unmarked and remove the dependency on lme4, which would simplify things for both packages. I think the following requirements apply:
- Make sure the licenses are compatible (both are GPL-3 so that's fine)
- Copy
lme4 code to a new file, say lme4Code.R which has comments clearly indicating its origin
- Add appropriate authorship. In this case I think we would add "Douglas Bates and lme4 authors (lme4Code.R)" to the package authors.
We only use a handful of functions from
lme4for processing random effects (findbars,nobars,mkReTrms). It looks like these functions have not been changed in 5+ years. Given that we don't actually uselme4to fit models I think it could make more sense to copy these functions tounmarkedand remove the dependency onlme4, which would simplify things for both packages. I think the following requirements apply:lme4code to a new file, saylme4Code.Rwhich has comments clearly indicating its origin