Learn R Programming

covafillr (version 0.4.4)

cxxFlags: CXXFLAGS to compile with covafill

Description

Get CXXFLAGS to compile with covafill

Usage

cxxFlags()

Arguments

Value

Returns a string with the CXXFLAGS needed to compile C++ code using covafill.

See Also

compile

Examples

Run this code
# NOT RUN {
if(require("TMB")){
   f <- system.file("examples","tmbtest","tmbtest.cpp", package='covafillr')
   TMB::compile(f,CXXFLAGS = cxxFlags())
}
# }

Run the code above in your browser using DataLab