Skip to content

Commit

Permalink
Handle multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 4, 2024
1 parent b3c36d9 commit 2b39f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mlxtranChangeEquation.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if (is.null(.cov$dplyr)) {
return(NULL)
}
.e <- str2lang(paste0("{", .cov$dplyr, "}"))
.e <- str2lang(paste0("{", paste(.cov$dplyr, collapse="\n"), "}"))
.ret <- lapply(seq_along(.e)[-1],
function(i) {
.e[[i]][[3]]
Expand Down

0 comments on commit 2b39f57

Please sign in to comment.