diff --git a/.gitignore b/.gitignore index 6ce7c9cff..808865dee 100644 --- a/.gitignore +++ b/.gitignore @@ -4,11 +4,10 @@ docs/src/assets/*.svg test/scratch.jl tune.json Manifest.toml -Manifest-v1.*.toml +Manifest-v*.toml settings.json docs/jmd LocalPreferences.toml benchmark.md - lcov.info coverage/ diff --git a/NEWS.md b/NEWS.md index 1a53f74ee..4e2304383 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +MixedModels v4.25.4 Release Notes +============================== +- Added additional precompilation for rePCA. [#749] + MixedModels v4.25.3 Release Notes ============================== - Fix a bug in the handling of rank deficiency in the `simulate[!]` code. This has important correctness implications for bootstrapping models with rank-deficient fixed effects (as can happen in the case of partial crossing of the fixed effects / missing cells). [#778] @@ -545,6 +549,7 @@ Package dependencies [#740]: https://github.com/JuliaStats/MixedModels.jl/issues/740 [#744]: https://github.com/JuliaStats/MixedModels.jl/issues/744 [#748]: https://github.com/JuliaStats/MixedModels.jl/issues/748 +[#749]: https://github.com/JuliaStats/MixedModels.jl/issues/749 [#755]: https://github.com/JuliaStats/MixedModels.jl/issues/755 [#756]: https://github.com/JuliaStats/MixedModels.jl/issues/756 [#767]: https://github.com/JuliaStats/MixedModels.jl/issues/767 diff --git a/Project.toml b/Project.toml index 122ab02b0..bc051ae95 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MixedModels" uuid = "ff71e718-51f3-5ec2-a782-8ffcbfa3c316" author = ["Phillip Alday ", "Douglas Bates ", "Jose Bayoan Santiago Calderon "] -version = "4.25.3" +version = "4.25.4" [deps] Arrow = "69666777-d1a9-59fb-9406-91d4454c9d45" diff --git a/src/MixedModels.jl b/src/MixedModels.jl index d3b1bddb2..db3911bfe 100644 --- a/src/MixedModels.jl +++ b/src/MixedModels.jl @@ -213,15 +213,19 @@ include("profile/profile.jl") sleepstudy = dataset(:sleepstudy) contra = dataset(:contra) progress = false + io = IOBuffer() @compile_workload begin # all calls in this block will be precompiled, regardless of whether # they belong to your package or not (on Julia 1.8 and higher) # these are relatively small models and so shouldn't increase precompile times all that much # while still massively boosting load and TTFX times - fit(MixedModel, + m = fit(MixedModel, @formula(reaction ~ 1 + days + (1 + days | subj)), sleepstudy; progress) + show(io, m) + show(io, m.PCA.subj) + show(io, m.rePCA) fit(MixedModel, @formula(use ~ 1 + age + abs2(age) + urban + livch + (1 | urban & dist)), contra,