Skip to content
Prev 8399 / 12125 Next

[R-pkg-devel] Error checking in an independent C code and printing (perror, printf, etc.)

All software engineering problems are solved by an additional layer of
indirection!  ;-)

Introduce a function called "process_error".  Include one implementation
for your standalone C library.  Include another R-specific one when using
your C library as part of an R package.

On Tue, Sep 6, 2022 at 9:23 AM Ji?? Moravec <jiri.c.moravec at gmail.com>
wrote: