Skip to contents

This finds the name of the package in which the ALTREP class was defined.

Usage

alt_pkgname(x)

Arguments

x

An ALTREP object of any class

Value

The package name as a character scalar.

Examples

alt_pkgname(1:3)
#> [1] "base"