Skip to content

Commit

Permalink
fix(as_paragraph_md): disappearance of spaces on R 4.4
Browse files Browse the repository at this point in the history
happend because the return of is.atomic(NULL) is changed to FALSE
  • Loading branch information
atusy committed May 2, 2024
1 parent efe8660 commit 7aea5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/md2df.R
Original file line number Diff line number Diff line change
Expand Up @@ -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())) {
Expand Down

0 comments on commit 7aea5ab

Please sign in to comment.