Skip to content

Commit

Permalink
Add support for StatsModels 0.6 (#316)
Browse files Browse the repository at this point in the history
* Add support for StatsModels v0.6

* Drop support for StatsModels 0.5
  • Loading branch information
DilumAluthge authored and kleinschmidt committed Jul 2, 2019
1 parent 4965d64 commit d92f093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ os:
- linux
- osx
julia:
- 0.7
- 1.0
- nightly
notifications:
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "GLM"
uuid = "38e38edf-8417-5370-95a0-9cbb8c7f171a"
version = "1.2.0"
version = "1.3.0"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down Expand Up @@ -35,4 +35,4 @@ Reexport = "0.1, 0.2"
SpecialFunctions = "0.6, 0.7"
StatsBase = "0.30"
StatsFuns = "0.6, 0.7, 0.8"
StatsModels = "0.5"
StatsModels = "0.6"
3 changes: 1 addition & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end
dfrm = DataFrame([categorical(repeat(string.('A':'D'), inner = 6)),
categorical(repeat(string.('a':'c'), inner = 2, outer = 4))],
[:G, :H])
f = @eval(@formula($nothing ~ 1+G*H))
f = @formula(0 ~ 1 + G*H)
X = ModelMatrix(ModelFrame(f, dfrm)).m
y = X * (1:size(X, 2)) + 0.1 * randn(MersenneTwister(1234321), size(X, 1))
inds = deleteat!(collect(1:length(y)), 7:8)
Expand Down Expand Up @@ -623,4 +623,3 @@ end
@test deviance(glm(@formula(y ~ x₁ + x₂), df, Binomial(), l, maxiter=40)) < 1e-6
end
end

2 comments on commit d92f093

@kleinschmidt
Copy link
Member

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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/1728

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v1.3.0 -m "<description of version>" d92f093d55071bfb5bfbbaebac091f4aa1af6dee
git push origin v1.3.0

Please sign in to comment.