diff --git a/ChangeLog b/ChangeLog index 0d357be11..4bb1768d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-06-14 JJ Allaire + + * src/attributes.cpp: Add Shield around parameters in Rcpp::interfaces + 2017-06-07 Dirk Eddelbuettel * README.md: Use alternates for img.shields.io GPL-2+ badges diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index e81a41209..78095a23d 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -24,6 +24,7 @@ addressing \ghit{702}). \item Automatically register init functions for Rcpp Modules (\ghpr{705} addressing \ghit{704}). + \item Add Shield around parameters in Rcpp::interfaces (\ghit{712}). } } } diff --git a/src/attributes.cpp b/src/attributes.cpp index 3eeccdf93..0a48d4d08 100644 --- a/src/attributes.cpp +++ b/src/attributes.cpp @@ -2172,7 +2172,7 @@ namespace attributes { const std::vector& args = function.arguments(); for (std::size_t i = 0; i(Rcpp::wrap(" << args[i].name() << "))"; if (i != (args.size()-1)) ostr() << ", "; }