Skip to content

Commit

Permalink
YAS
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
palday and github-actions[bot] authored Nov 7, 2023
1 parent cdcd7ca commit 9c06cd5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/lmerMod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const GLMM = GeneralizedLinearMixedModel
pastes = DataFrame(dataset(:pastes))
@rput pastes
jlmm = fit(MixedModel, @formula(strength ~ 1 + (1 | batch / cask)), pastes;
REML=false, progress=false)
REML=false, progress=false)
rlmm = rcopy(R"lme4::lmer(strength ~ 1 + (1 | batch / cask), pastes,REML=FALSE)")

@test jlmm.θ rlmm.θ atol = 0.001
Expand Down Expand Up @@ -292,15 +292,14 @@ const GLMM = GeneralizedLinearMixedModel
pastes = DataFrame(dataset(:pastes))
@rput pastes
jlmm = fit(MixedModel, @formula(strength ~ 1 + (1 | batch / cask)), pastes;
REML=false, progress=false)
REML=false, progress=false)
rlmm = (jlmm, pastes)
@rput rlmm

@test jlmm.θ rcopy(R"""getME(rlmm, "theta")""") atol = 0.001
@test objective(jlmm) rcopy(R"deviance(rlmm)") atol = 0.001
@test only(fixef(jlmm)) rcopy(R"fixef(rlmm)") atol = 0.001
end

end

@testset "lmerControl warnings" begin
Expand Down

0 comments on commit 9c06cd5

Please sign in to comment.