#include using namespace Rcpp; //' @param foo // don't do anything to this //' // or this //' @param bar " // or this guy " // [[Rcpp::export]] // this comment marks the following function for export std::string comments_test( /// // "\""" some '"// more / // ///garbge" std::string msg = "Start a C++ line comment with the characters \"//\"" // "" \" "" ) { // """ return msg; }