Gets the formal name of the class and package of an ALTREP object
get_altrep_class_info(obj)The class information (class name and package name) of an ALTREP object, a character vector of length two. If the object is not an ALTREP object, returns NULL.
get_altrep_class_info(1:5)
#> [1] "compact_intseq" "base"