powered by
with_debug(code, PKG_CFLAGS = NULL, PKG_CXXFLAGS = NULL, PKG_FFLAGS = NULL, PKG_FCFLAGS = NULL, debug = TRUE, action = "replace")
with_envvar
"replace"
"suffix"
"prefix"
TRUE
-g -O0
compiler_flags
flags <- names(compiler_flags(TRUE)) with_debug(Sys.getenv(flags)) install("mypkg") with_debug(install("mypkg"))
Run the code above in your browser using DataLab