Skip to content

Commit

Permalink
set updated attributes in S7_data<-
Browse files Browse the repository at this point in the history
closes #478
  • Loading branch information
t-kalinowski committed Oct 25, 2024
1 parent 5e939fb commit 02c1e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ S7_data <- function(object) {
`S7_data<-` <- function(object, check = TRUE, value) {
attrs <- attributes(object)
object <- value
attributes(object) <- attrs
attributes(object) <- modify_list(attrs, attributes(value))
if (isTRUE(check)) {
validate(object)
}
Expand Down

0 comments on commit 02c1e78

Please sign in to comment.