-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I believe this is issued on install when the the .rdata files for the data.tree objects are moved to lazyload db.
I figured it would be resolved by re-building/re-saving the objects with a current version of {data.tree}... but no such luck. They build fine, no messages. Perhaps it will resolve itself? We do not use either of these R6 methods directly in the scripts to build the trees for tree_calc.
*** moving datasets to lazyload DB
[1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
[1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
... [repeated]
We could take an alternate approach where we store a .rda of a data.frame which is "promoted" to a suitable Node/data.tree via a pathString. That is "simpler" than storing a serialized R6 object for a few reasons...
We can make the data.tree as is currently done in e.g. https://github.com/ncss-tech/interpretation-engine/blob/master/misc/internal-datasets/HSG/tr.hsg.R via a function "on the fly" (possibly based on user input/parameters) or on package load or similar.