Skip to content

Commit

Permalink
Fix to gls support code (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlenth committed Jun 25, 2024
1 parent 48ab800 commit 37a5f8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: emmeans
Type: Package
Title: Estimated Marginal Means, aka Least-Squares Means
Version: 1.10.2.090003
Date: 2024-06-23
Version: 1.10.2.090004
Date: 2024-06-25
Authors@R: c(person("Russell V.", "Lenth", role = c("aut", "cre", "cph"),
email = "russell-lenth@uiowa.edu"),
person("Ben", "Bolker", role = "ctb"),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title: "NEWS for the emmeans package"
## emmeans 1.10.2-09xxxxx
* Updated `mice::mira` support to use Barnard-Rubin adjusted d.f. (#494)
* Fix to MuMIn support so a response transformation is auto-detected
* Bug fix in `gls` support code (#495)


## emmeans 1.10.2
Expand Down
2 changes: 1 addition & 1 deletion R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ gls_grad = function(object, call, data, V) {
conLin = object
class(conLin) = class(obj)
X = model.matrix(eval(call$model), data = data)
y = eval(call$model[[2]], envir = data)
y = eval(eval(call$model)[[2]], envir = data)
conLin$Xy = cbind(X, y)
conLin$fixedSigma = FALSE
func = function(x) {
Expand Down

0 comments on commit 37a5f8c

Please sign in to comment.