For packages that implement some functionality in C/C++ code there is always a risk of errors in memory allocation and reading/writing outside of arrays.
Several tools allow to identify issues with memory usage which is especially useful given that an improper handling of memory allocation and access might not always become apparent when using an R package that ships with some C/C++ code.
CRAN provides an overview of the tools they use and recommend using when tracking memory usage:
https://cran.r-project.org/doc/manuals/R-exts.html#Checking-memory-access-1
To Do
We want to build an image that provides (most of) the tools recommended by CRAN to identify and track common memory-usage related errors in R packages.
For packages that implement some functionality in C/C++ code there is always a risk of errors in memory allocation and reading/writing outside of arrays.
Several tools allow to identify issues with memory usage which is especially useful given that an improper handling of memory allocation and access might not always become apparent when using an R package that ships with some C/C++ code.
CRAN provides an overview of the tools they use and recommend using when tracking memory usage:
https://cran.r-project.org/doc/manuals/R-exts.html#Checking-memory-access-1
To Do
We want to build an image that provides (most of) the tools recommended by CRAN to identify and track common memory-usage related errors in R packages.