Skip to contents

Returns a summary of the properties of an ALTREP object

Usage

alt_details(x)

Arguments

x

An ALTREP object of any class

Value

A list with the following entries:

Note

Warning: storing the result will cause an R session crash with a deferred_string ALTREP object.

Examples

alt_details(1:4)
#> $class_name
#> [1] "compact_intseq"
#> 
#> $pkg_name
#> [1] "base"
#> 
#> $base_type
#> [1] "integer"
#> 
#> $data1
#> [1] 4 1 1
#> 
#> $data2
#> NULL
#>