Skip to content

Commit dc08277

Browse files
authored
fix: styler CI
1 parent 1e5e127 commit dc08277

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

R/transform-code.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ identify_raw_chunks <- function(lines,
100100

101101
if (filetype == "Rmd") {
102102
starts <- grep(
103-
"^[\t >]*```+\\s*\\{((r|webr-r|webr)( *[ ,].*)?)\\}\\s*$",
104-
lines, perl = TRUE, ignore.case = TRUE
103+
"^[\t >]*```+\\s*\\{((r|webr-r|webr)( *[ ,].*)?)\\}\\s*$",
104+
lines,
105+
perl = TRUE, ignore.case = TRUE
105106
)
106107
ends <- grep("^[\t >]*```+\\s*$", lines, perl = TRUE)
107108
ends <- purrr::imap_int(starts, ~ ends[which(ends > .x)[1L]]) %>%

0 commit comments

Comments
 (0)