r-lib / lobstr

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

Use consistent type abbreviations #62

Open hadley opened 2 years ago

hadley commented 2 years ago

make_type_abrev() and type_sum() are inconsistent, and I think neither are correct. If it's a vector (how do we tell?) we should probably use vctrs::type_sum() (+ vctrs::vec_size() ?) and otherwise use something like R7:::obj_desc().