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
When enabling lazy loading of data in a package that contains a Node object, we get a warning in the package check.
* checking whether package ‘data.tree.in.package’ can be installed ... WARNING
Found the following significant warnings:
Warning in (function () : 'Node$fields' is deprecated.
Warning in (function () : 'Node$fieldsAll' is deprecated.
See ‘/home/[email protected]/projects/data.tree.in.package/data.tree.in.package.Rcheck/00install.out’ for details.
Apparently, Node$fields and Node$fieldsAll are called under these circumstances.
This is related to the deprecation of these methods and has already been discussed elsewhere [1], but there is no open issue in this package currently. I have created an example package that passes R CMD check without warnings before switching on lazy loading of data, but produces the warning after that [2].
With this github workflow, the warning produced in the package check
because of including the culture trees as `Node` objects from the
`data.tree` package does not make the check fail. See
gluc/data.tree#173
When enabling lazy loading of data in a package that contains a
Node
object, we get a warning in the package check.Apparently,
Node$fields
andNode$fieldsAll
are called under these circumstances.This is related to the deprecation of these methods and has already been discussed elsewhere [1], but there is no open issue in this package currently. I have created an example package that passes
R CMD check
without warnings before switching on lazy loading of data, but produces the warning after that [2].[1] ncss-tech/interpretation-engine#3
[2] jranke/data.tree.in.package@b8c7a81
The text was updated successfully, but these errors were encountered: