lobstr 1.2.0
CRAN release: 2026-02-18
New
src()function for exploring srcref and srcfile objects. We’ve documented all we know about srcrefs in?src.obj_size(),obj_addrs(), andsxp()no longer error with “bad binding access” when inspecting environments with non-standard bindings such as those created byforloops or immediate bindings (#48).sxp(expand = "environment")no longer shows the internal_frameand_hashtabstructures. Instead, it now shows promise expressions without forcing them. This change was necessary to make lobstr compliant with R’s public C API.General progress towards conformance to the public C API of R.
lobstr 1.1.3
CRAN release: 2025-11-14
-
Changes for compliance with R’s public API. The main consequence is that lobstr no longer reports the
truelengthproperty of vectors.We also changed the
namedindicator torefs:n, wherencan take the values:0(corresponding toNO_REFERENCESreturning 1),1(corresponding to bothNO_REFERENCESMAYBE_SHAREDreturning 0), and2+(MAYBE_SHAREDreturning 1).
lobstr 1.1.2
CRAN release: 2022-06-22
Switched to cpp11 from Rcpp.
Relicensed as MIT (#51).
obj_size()andsxp()now support non-nil terminated pairlists.obj_size()now displays large objects with KB, MB, etc (#57, #60), and no longer returns NA for objects larger than 2^31 bytes (#45).obj_sizes()now computes relative sizes correctly (without meaningless floating point differences).ref()lists all contents of environments even those with names beginning with.(@krlmlr, #53).New, experimental
tree()function as alternative tostr()(#56).
lobstr 1.1.0
CRAN release: 2019-06-19
ref()now handles custom classes properly (@yutannihilation, #36)sxp()is a new tool for displaying the underlying C representation of an object (#38).obj_size()now special cases the ALTREP “deferred string vectors” which previously crashed due to the way in which they abuse the pairlist type (#35).
lobstr 1.0.1
CRAN release: 2018-12-21
ast()prints scalar integer and complex more accurately (#24)obj_addr()no longer increments the reference count of its input (#25)obj_size()now correctly computes size of ALTREP objects on R 3.5.0 (#32)
