Skip to contents

Remove the "immutable" S3-class from an R object, allowing it to be modified normally again.

Usage

mutable(object)

Arguments

object

An R object inheriting from the "immutable" class.

Value

The object with the "immutable" class stripped from it.

Examples

immut_list <- immutable(list())
mutable(immut_list)
#> list()