lobstr::obj_size with a try to address issue #72It is not clear why, but it appears that running lobstr::obj_size again, after
a bad binding error, it will work.
.objSizeWithTry(x, useTry = TRUE)The size of an object, using lobstr::obj_size or object.size if the
first fails
An object
Logical. If TRUE, the default, then it will use try. Can optionally
avoid this if set to FALSE. The try takes sufficient extra compute time
that it is worth avoiding it if possible.