On 25 April 2020 at 16:04, Toby Hocking wrote: | Hi, can someone please tell me where the return types of wrap are | documented?
The _return_ value of a wrap() call is by definition always SEXP. Just how the _input_ for as<>() converters is always a SEXP. For wrap(), see e.g. Section 3.1 of the JSS 2011 paper which ships as vignette Rcpp-jss-2011.pdf Hth, Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel