We do need some kind of ```r # if the node does not have a 'type', return if (!"type" %in% names(node)) { return() } ``` guard!