Skip to content

Commit

Permalink
Replace single quotes with escaped double quotes (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermorganwall authored Nov 20, 2024
1 parent 57c144c commit 027d446
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
* The generator of `compile_commands.json` is now more reliable in the presence
of extra whitespace in `make`'s output (#288, @TimTaylor).


* The generator of `compile_commands.json` now uses escaped double quotes for LinkingTo packages to ensure valid argument strings when parsed on Windows (#305, @tylermorganwall).

# pkgload 1.4.0

* The `reset` argment of `load_all()` is no longer supported because preserving
Expand Down
2 changes: 1 addition & 1 deletion R/compilation-db.R
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,5 @@ linking_to_flags <- function(desc) {
paths <- vapply(linking_to, function(pkg) system.file("include", package = pkg), "")
paths <- paths[paths != ""]

paste(paste0("-I'", paths, "'"), collapse = " ")
paste(paste0("-I\"", paths, "\""), collapse = " ")
}

0 comments on commit 027d446

Please sign in to comment.