Also, please don't double post here and on stack overflow: http://stackoverflow.com/questions/27639720/can-i-throw-an-error-in-c-code-just-like-rcpps-stop-in-julia
It's the same people answering in both places. Once you get an answer in one place, please cross link so that the answer appears in both places – that's what we end up having to do when people double post their questions like this. On Wed, Dec 24, 2014 at 12:06 PM, Stefan Karpinski <[email protected]> wrote: > Since I have no idea what Rcpp::stop() or R CMD check do, it's hard to > answer this question. Can you explain what you want to accomplish? > > On Wed, Dec 24, 2014 at 11:36 AM, 良无 <[email protected]> wrote: > >> In my origin C++ code, I use assert(), but if I want to use this code in >> Julia, maybe I need to replace it with other functions. In R, I can use >> Rcpp::stop(). Is there any easy way to do it in Julia with C or C++ code. >> >> And it seems that Julia does not have R CMD check like stuff yet. It >> does not check this kind of issue. >> >> Thanks. >> > >
