You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compileAttributes() seems to break when called on a function that includes C++11 style initializer lists as defaults. Here is an example:
cppFunction("std::vector<int> test(std::vector<int> out = {0}) { return out;}")
Error in cppFunction("std::vector test(std::vector out = {0}) {\n return out;\n}") :
No function definition found
In addition: Warning messages:
1: No function found for Rcpp::export attribute at fileee5f1d363260.cpp:5
2: In sourceCpp(code = code, env = env, rebuild = rebuild, showOutput = showOutput, :
No Rcpp::export attributes or RCPP_MODULE declarations found in source