
Last chance! 50% off unlimited learning
Sale ends in
These default flags enforce good coding practice by ensuring that
CFLAGS
and CXXFLAGS
are set to -Wall -pedantic
.
These tests are run by cran and are generally considered to be good practice.
compiler_flags(debug = FALSE)
If TRUE
adds -g -O0
to all flags
(Adding FFLAGS
and FCFLAGS
By default compile_dll
is run with compiler_flags(TRUE)
,
and check with compiler_flags(FALSE)
. If you want to avoid the
possible performance penalty from the debug flags, install the package.
Other debugging flags: with_debug
# NOT RUN {
compiler_flags()
compiler_flags(TRUE)
# }
Run the code above in your browser using DataLab