You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where in v6.0 we have the addition of env = parent.frame()
I will attempt to figure out what is going on, because I don't have a good understanding of the workings of R environments with DSI. But I guess that the offset vector is in the 'wrong' environment to be accessed by the glm model...
The text was updated successfully, but these errors were encountered:
An update. I actually think the problem is with having a variable called offset, which is actually a function in R. So R thinks you are trying to pass a function called offset, not a variable called offset. I think this will be fixed by changing the name of the variable (and probably do the same for weights too)
In v5.1 offsets and weights work as expected for glmSLMA
In v6.0-dev, the error is returned:
invalid type (closure) for variable '(offset)'
I believe this is related to the modification of line 167 onwards:
where in v6.0 we have the addition of
env = parent.frame()
I will attempt to figure out what is going on, because I don't have a good understanding of the workings of R environments with DSI. But I guess that the offset vector is in the 'wrong' environment to be accessed by the glm model...
The text was updated successfully, but these errors were encountered: