Skip to content

Commit

Permalink
suppress more
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Jul 16, 2024
1 parent 99946c7 commit 4700d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/predict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ end
slp1 = subset(slp, :days => ByRow(>(0)))
# this model probably doesn't make much sense, but it has two
# variables on the left hand side in a FunctionTerm
m = fit(MixedModel, @formula(reaction / days ~ 1 + (1|subj)), slp1)
m = @suppress fit(MixedModel, @formula(reaction / days ~ 1 + (1|subj)), slp1)
# make sure that we're getting the transformation
@test response(m) slp1.reaction ./ slp1.days
@test_throws ArgumentError predict(m, slp[:, Not(:reaction)])
Expand All @@ -154,7 +154,7 @@ end
@test predict(m, slp1) fitted(m)


m = fit(MixedModel, @formula(log10(reaction) ~ 1 + days + (1|subj)), slp1)
m = @suppress fit(MixedModel, @formula(log10(reaction) ~ 1 + days + (1|subj)), slp1)
# make sure that we're getting the transformation
@test response(m) log10.(slp1.reaction)
@test_throws ArgumentError predict(m, slp[:, Not(:reaction)])
Expand Down

0 comments on commit 4700d43

Please sign in to comment.