Re: [Rcpp-devel] assert() for Rcpp?

2015-02-24 Thread Miratrix, Luke
nexidia.com > >-Original Message- >From: rcpp-devel-boun...@lists.r-forge.r-project.org >[mailto:rcpp-devel-boun...@lists.r-forge.r-project.org] On Behalf Of >Nathan Kurz >Sent: Wednesday, February 18, 2015 3:19 PM >To: Miratrix, Luke >Cc: rcpp-devel@lists.r-forge.r-

[Rcpp-devel] assert() for Rcpp?

2015-02-17 Thread Miratrix, Luke
Dirk Eddelbuettel and I were discussing how people do not seem to be putting assert() statements in their C code in Rcpp packages. I expect the reason is because assert() prints to cerr, which is a violation of the CRAN policies of proper packages. However, the assert() command is a simple macro