Skip to content

Commit f6f8772

Browse files
committed
Use shell quoting instead of single quoting to work on Windows
1 parent 568916f commit f6f8772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/source.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ generate_include_paths <- function(packages) {
153153
if (is_windows()) {
154154
path <- shQuote(utils::shortPathName(path))
155155
}
156-
out[[i]] <- paste0("-I'", path, "'")
156+
out[[i]] <- paste0("-I", shQuote(path))
157157
}
158158
out
159159
}

0 commit comments

Comments
 (0)