Skip to content
Prev 6833 / 12125 Next

[R-pkg-devel] Question "no visible binding for '<<-' assignment"

On 14/04/2021 12:11 p.m., Federico Zanghi wrote:
Then something is broken.  You need to change things: packages shouldn't 
be writing directly to the global environment.

I don't know the Arima function, but it's where I'd start looking.
Scoping for modelling functions is quite tricky.  The standard rules are 
that model variables are looked for in the data argument first, then the 
environment of the model formula.  "Model variables" include those 
referenced in the model formula, but also some others.
No, it wasn't.  If you want more specific help, you should include a 
self-contained example in the text of your message.

Duncan Murdoch