
with_debug(code, PKG_CFLAGS = NULL, PKG_CXXFLAGS = NULL,
PKG_FFLAGS = NULL, PKG_FCFLAGS = NULL, debug = TRUE,
action = "replace")
with_envvar
only): should new
values "replace"
, "suffix"
, "prefix"
existing environmental variables with the same name.TRUE
adds -g -O0
to all
flags (Adding 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