Sets an attribute on an object and returns the modified object.
Examples
setAttribute(list(), "foo", 1)
#> list()
#> attr(,"foo")
#> [1] 1
Sets an attribute on an object and returns the modified object.
setAttribute(list(), "foo", 1)
#> list()
#> attr(,"foo")
#> [1] 1