Resource Cleanup in C and the R API
This article is originally published at https://www.tidyverse.org/blog/h1 code, h2 code { font-size: 0.8em; } Introduction We have just released the cleancall package to CRAN. cleancall is a new package that helps avoiding resource leaks in the C code of your R package. In this blog post, we show some example resource leaks from base R and R packages, and also show three different ways to fix them, one of which uses the cleancall package.
Thanks for visiting r-craft.org
This article is originally published at https://www.tidyverse.org/blog/
Please visit source website for post related comments.