Skip to contents

Sets the S4 bit on the R object so that isS4() returns TRUE on it.

Usage

sparkle(x)

Arguments

x

an object.

Value

Invisibly, the supplied object with the ‘S4’ bit set (modified in place).

Examples

x <- fountain()
isS4(x)
#> [1] FALSE
sparkle(x)
isS4(x)
#> [1] TRUE