Skip to content

Copy lme4 code into package, instead of importing it #253

@kenkellner

Description

@kenkellner

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:

  1. Make sure the licenses are compatible (both are GPL-3 so that's fine)
  2. Copy lme4 code to a new file, say lme4Code.R which has comments clearly indicating its origin
  3. Add appropriate authorship. In this case I think we would add "Douglas Bates and lme4 authors (lme4Code.R)" to the package authors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions