r-lib / pkgbuild

Find tools needed to build R packages
https://pkgbuild.r-lib.org
Other
65 stars 33 forks source link

Enable colored compiler diagnostics with the background process as well #102

Closed jimhester closed 3 years ago

jimhester commented 4 years ago

Fixes https://github.com/r-lib/pkgdepends/issues/138

jimhester commented 4 years ago

This adds the compiler flags for both the interactive builds and the background process. When the interactive builds use the parent.frame() as the cleanup environment, the background uses the R6 object, which I think will do what we want as far as lifetimes.

jimhester commented 4 years ago

Yeah, likely due to when the cache gets invalidated, I will look into it.