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

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Fri Sep 9 11:13:16 CEST 2022


On Wed, 7 Sep 2022 09:03:16 -0500
Dirk Eddelbuettel <edd using debian.org> wrote:

> And there is RApiSerialize:
> https://cran.r-project.org/package=RApiSerialize
> 
> It takes R Core code and provides it in a package. That allows R Core
> to one day change the non-exported API (so far it hasn't happened in
> the eight years since the 0.1.0 release) yet lets packages use
> serialization: RcppRedis and the excellent qs package make use of it.

Thanks for the link! Since I only need a hash of the serialised data,
not the data itself, the callback interface is perfect for me, but I do
realise that I'm relying on something that isn't promised to keep being
there. I'll definitely keep RApiSerialize in mind.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list