Skip to content

Commit

Permalink
PrecompileTools (#76)
Browse files Browse the repository at this point in the history
* PrecompileTools

* patch bump
  • Loading branch information
palday authored Aug 4, 2023
1 parent a42a651 commit 1383fa8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MixedModelsMakie"
uuid = "b12ae82c-6730-437f-aff9-d2c38332a376"
authors = ["Phillip Alday <[email protected]>", "Douglas Bates <[email protected]>", "contributors"]
version = "0.3.25"
version = "0.3.26"

[deps]
BSplineKit = "093aae92-e908-43d7-9660-e50ee39d5a0a"
Expand All @@ -11,6 +11,7 @@ KernelDensity = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
MixedModels = "ff71e718-51f3-5ec2-a782-8ffcbfa3c316"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Expand All @@ -22,6 +23,7 @@ Distributions = "0.21, 0.22, 0.23, 0.24, 0.25"
KernelDensity = "0.6.3"
Makie = "0.18,0.19"
MixedModels = "4.14"
PrecompileTools = "1"
SpecialFunctions = "1, 2"
StatsBase = "0.31, 0.32, 0.33, 0.34"
julia = "1.8"
16 changes: 16 additions & 0 deletions src/MixedModelsMakie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ using Distributions
using KernelDensity
using Makie
using MixedModels
using PrecompileTools
using Printf
using SpecialFunctions
using StatsBase
Expand Down Expand Up @@ -42,4 +43,19 @@ include("ridge.jl")
include("xyplot.jl")
include("recipes.jl")

@setup_workload begin
model = fit(MixedModel, @formula(reaction ~ 1 + days + (1 + days | subj)),
MixedModels.dataset(:sleepstudy))
@compile_workload begin
caterpillar(model)
coefplot(model)
qqcaterpillar(model)
qqnorm(model)
shrinkageplot(model; ellipse=true)
# not covered:
# profile plots
# bootstrap plots (e.g. ridgeplot)
end
end

end # module

2 comments on commit 1383fa8

@palday
Copy link
Owner Author

@palday palday commented on 1383fa8 Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/88998

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.26 -m "<description of version>" 1383fa85af15e7fc15610787bc6f8dce69b685b2
git push origin v0.3.26

Please sign in to comment.