[Rcpp-devel] assert() for Rcpp?

Tim Keitt tkeitt at utexas.edu
Wed Feb 18 19:43:47 CET 2015

On Wed, Feb 18, 2015 at 10:53 AM, Dirk Eddelbuettel <edd at debian.org> wrote:

> So now that this has been taken care of, we are discussing how to provide a
> more useful feature "not unlike assert" with proper Rcpp semantics.
Something like:

#define stopifnot(a) if (!(a)) stop(#a)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150218/72fc01d1/attachment.html>

More information about the Rcpp-devel mailing list