Skip to content

Commit dfa2c6a

Browse files
committed
Fix bug in verify_attr. Closes issue #1720.
1 parent c19594b commit dfa2c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ verify_attr <- function(proposed, schema, layoutAttr = FALSE) {
521521

522522
# do the same for "sub-attributes"
523523
if (identical(role, "object") && is.recursive(proposed[[attr]])) {
524-
proposed[[attr]] <- verify_attr(proposed[[attr]], schema[[attr]], layoutAttr = layoutAttr)
524+
proposed[[attr]] <- verify_attr(proposed[[attr]], attrSchema, layoutAttr = layoutAttr)
525525
}
526526
}
527527

0 commit comments

Comments
 (0)