Skip to content

Commit 8bff2b6

Browse files
committed
head() needs namespace
1 parent 04215f9 commit 8bff2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/utils-extract.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ qmd_to_r_script <- function(qmd, script = NULL) {
135135
if (isFALSE(metadata_clean$eval)) {
136136
# cell with eval: false should be commented out in R script
137137
row$source <- paste(
138-
c(paste0("# ", head(xfun::split_lines(row$source), -1)), ""),
138+
c(paste0("# ", utils::head(xfun::split_lines(row$source), -1)), ""),
139139
collapse = "\n"
140140
)
141141
}

0 commit comments

Comments
 (0)