Skip to content

devtools::load_all() doesn't currently work with lme4 #327

@annahuynhly

Description

@annahuynhly

Hi, I'm an lme4 author.

Initially I thought there was an issue with lme4, but upon closer check this is only an issue I have when I use devtools::load_all(): lme4/lme4#950

If I run:

> devtools::load_all()
ℹ Loading lme4
Loading required package: Matrix
> fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy, REML = FALSE)
Warning messages:
1: In initializePtr() :
  subscript out of bounds (index 180 >= vector size 64)
2: In initializePtr() :
  subscript out of bounds (index 180 >= vector size 64)
3: In initializePtr() :
  subscript out of bounds (index 180 >= vector size 64)

This appears to be an issue related to lme4.

However, if I just build the lme4 tarball myself and then do:

library(lme4)
fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy, REML = FALSE)

There is no error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions