Get/set the optional Version property as an attribute to an R object.
Usage
version(x)
version(x, overwrite = FALSE) <- value
Value
The Version attribute as a character of length 1 is added to x.
Arguments
x
An R object, such as a data.frame, a tibble, or a data.table.
overwrite
If the Version attribute should be overwritten. In case it is set to FALSE,
it gives a message with the currentVersion property instead of overwriting it.
Defaults to TRUE when the attribute is set to value regardless of previous
setting.