Ark: Variable pane can't compute the size in presence of immediate bindings #4700
Labels
area: kernels
Issues related to Jupyter kernels and LSP servers
area: variables
Issues related to Variables category.
lang: r
Milestone
Describe the issue:
The variable pane computes the size of objects in the global environments. If those objects contain environments with "immediate bindings", the size computation fails with a warning in the Ark logs.
See the parent issue #4686 and the investigation notes in #4686 (comment). See also the issue in lobstr, from which we pulled our size computation routine: r-lib/lobstr#48
Steps to reproduce the issue:
Run this in the R console:
Expected or desired behavior:
No warning in the logs:
And the model
m
should have a non-zero size when the variable pane is sorted by size:The text was updated successfully, but these errors were encountered: