[Rd] stats::getInitial: requires the model to live in the stats namespace or above

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Jun 22 23:05:09 CEST 2022


On Wed, 22 Jun 2022 13:57:53 -0400
Duncan Murdoch <murdoch.duncan using gmail.com> wrote:

> On 22/06/2022 12:44 p.m., Bill Dunlap wrote:
> > Shouldn't the get()'s in stats:::getInitial.formula be looking in
> > the environment of the formula, not the environment of
> > getInitial.formula?  
> 
> Yes, that definitely looks like the right environment to use.  Ivan,
> is that what you meant by "environment(object)"?

Yes, I meant the formula by "object", following the name of
getInitial.formula's argument.

-- 
Best regards,
Ivan



More information about the R-devel mailing list