diff --git a/R/md2df.R b/R/md2df.R index 0cc4883..f68af95 100644 --- a/R/md2df.R +++ b/R/md2df.R @@ -42,7 +42,7 @@ add_type <- function(x, t) { } resolve_type <- function(x) { - if (is.atomic(x$c)) { + if (is.null(x$c) || is.atomic(x$c)) { return(x) } if (identical(x$c, list())) {