Skip to content

Commit

Permalink
another hack for old R versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Jan 23, 2021
1 parent f71deae commit 5523a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/transform-files.R
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ parse_transform_serialize_r <- function(text,
return("")
}
transformers <- transformers_subset(
pd_nested$text[!pd_nested$is_cached],
ifelse(getRversion() < 3.4, text, pd_nested$text[!pd_nested$is_cached]),
transformers
)
blank_lines_to_next_expr <- find_blank_lines_to_next_block(pd_nested)
Expand Down

0 comments on commit 5523a8f

Please sign in to comment.