r-lib / lobstr

Understanding complex R objects with tools similar to str()
https://lobstr.r-lib.org/
Other
303 stars 27 forks source link

`Error in obj_size_(dots, env, size_node(), size_vector()) : bad binding access` #72

Open eliotmcintire opened 8 months ago

eliotmcintire commented 8 months ago

I am seeing a bad binding access error now with the previous release of [reproducible] package on CRAN with devel versions of R. I have done a work around for now in reproducible.

I can manually reproduce this with R-devel on my local machines.

The minimal reprex using R-devel (R Under development (unstable) (2024-03-28 r86224)) is:

lobstr::obj_size(as.environment("package:lobstr"))
# Error in obj_size_(dots, env, size_node(), size_vector()) :
#   bad binding access

It appears on Windows 10 and Linux (Ubuntu) systems that I have tested.

eliotmcintire commented 7 months ago

Bumped from issue #48. I see in that issue that newer R-devel may remove the problem.

I just updated with rig, using R-devel and this issue persists. Using R Under development (unstable) (2024-04-09 r86391)