powered by
with_debug(code, CFLAGS = NULL, CXXFLAGS = NULL, FFLAGS = NULL, FCFLAGS = NULL, debug = TRUE, action = "replace")
TRUE
-g -O0
with_envvar
"replace"
"suffix"
"prefix"
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