Skip to content

Commit a031aed

Browse files
author
Oscar D. Lara Yejas
committed
Fixed lookup in schema.R
1 parent 0eabaf8 commit a031aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pkg/R/schema.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ structField.jobj <- function(x) {
115115
}
116116

117117
checkType <- function(type) {
118-
if (type %in% names(PRIMITIVE_TYPES)) {
118+
if (!is.null(PRIMITIVE_TYPES[[type]])) {
119119
return()
120120
} else {
121121
# Check complex types

0 commit comments

Comments
 (0)