Skip to content

Commit 2ed1933

Browse files
authored
Add precompile step for rePCA (#749)
* add precompile workfload for PCA * ignore version specific manifests * patch bump, NEWS
1 parent 0ad0594 commit 2ed1933

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ docs/src/assets/*.svg
44
test/scratch.jl
55
tune.json
66
Manifest.toml
7-
Manifest-v1.*.toml
7+
Manifest-v*.toml
88
settings.json
99
docs/jmd
1010
LocalPreferences.toml
1111
benchmark.md
12-
1312
lcov.info
1413
coverage/

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
MixedModels v4.25.4 Release Notes
2+
==============================
3+
- Added additional precompilation for rePCA. [#749]
4+
15
MixedModels v4.25.3 Release Notes
26
==============================
37
- 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
545549
[#740]: https://github.com/JuliaStats/MixedModels.jl/issues/740
546550
[#744]: https://github.com/JuliaStats/MixedModels.jl/issues/744
547551
[#748]: https://github.com/JuliaStats/MixedModels.jl/issues/748
552+
[#749]: https://github.com/JuliaStats/MixedModels.jl/issues/749
548553
[#755]: https://github.com/JuliaStats/MixedModels.jl/issues/755
549554
[#756]: https://github.com/JuliaStats/MixedModels.jl/issues/756
550555
[#767]: https://github.com/JuliaStats/MixedModels.jl/issues/767

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MixedModels"
22
uuid = "ff71e718-51f3-5ec2-a782-8ffcbfa3c316"
33
author = ["Phillip Alday <[email protected]>", "Douglas Bates <[email protected]>", "Jose Bayoan Santiago Calderon <[email protected]>"]
4-
version = "4.25.3"
4+
version = "4.25.4"
55

66
[deps]
77
Arrow = "69666777-d1a9-59fb-9406-91d4454c9d45"

src/MixedModels.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,19 @@ include("profile/profile.jl")
213213
sleepstudy = dataset(:sleepstudy)
214214
contra = dataset(:contra)
215215
progress = false
216+
io = IOBuffer()
216217
@compile_workload begin
217218
# all calls in this block will be precompiled, regardless of whether
218219
# they belong to your package or not (on Julia 1.8 and higher)
219220

220221
# these are relatively small models and so shouldn't increase precompile times all that much
221222
# while still massively boosting load and TTFX times
222-
fit(MixedModel,
223+
m = fit(MixedModel,
223224
@formula(reaction ~ 1 + days + (1 + days | subj)),
224225
sleepstudy; progress)
226+
show(io, m)
227+
show(io, m.PCA.subj)
228+
show(io, m.rePCA)
225229
fit(MixedModel,
226230
@formula(use ~ 1 + age + abs2(age) + urban + livch + (1 | urban & dist)),
227231
contra,

0 commit comments

Comments
 (0)