I'm getting a mysterious message which is happening somewhere in the RStudio IDE.
> 14
[1] 14
Warning message:
In .local(x, i, j, ...) :
Use of '[[' with chance nodes is depricated: Use numericPart and '['.
The warning is obviously not coming from my code. I suspect that it is it is happening when RStudio is updating the "Environment" tab.
More details. I have installed a package called RNetica (R-universe: personal package repositories for R!). This is my package, so I know it well. The warning message is something that I have written. It is associated with an object of type RNetica::NeticaNode
. This class has a toString
and show
method. So I don't know why RStudio is trying to deconstruct the object.
What is the .local
function referenced in the error message? How is it defined? If I knew that, I could figure out why the [[
method is getting called on the NeticaNode object.
I'm trying hard to make a small reproduceable example, but it seems to be intermittent. In particular, I can't seem to trap the errors or get a traceback of where the error is occurring. Any suggestion of how to debug this would be helpful.