Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Fix codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Feb 13, 2023
1 parent f506e1a commit a46acb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/tools/workaround.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ unlink("src/tran.g.d_parser.c")

.badStan <- ""
.in <- gsub("@SH@", gsub("-I", "-@ISYSTEM@",
paste(capture.output(StanHeaders:::CxxFlags()),
capture.output(RcppParallel:::CxxFlags()),
paste(capture.output(StanHeaders:::CxxFlags()), # nolint
capture.output(RcppParallel:::CxxFlags()), # nolint
paste0("-@ISYSTEM@'", system.file('include', 'src', package = 'StanHeaders', mustWork = TRUE), "'"),
.badStan)),
.in)

.in <- gsub("@SL@", paste(capture.output(StanHeaders:::LdFlags()), capture.output(RcppParallel:::RcppParallelLibs())), .in)
.in <- gsub("@SL@", paste(capture.output(StanHeaders:::LdFlags()), capture.output(RcppParallel:::RcppParallelLibs())), .in) # nolint

if (.Platform$OS.type == "windows" && !file.exists("src/Makevars.win")) {
.in <- gsub("@CXX14STD@", "-std=c++1y", .in)
Expand Down

0 comments on commit a46acb7

Please sign in to comment.