Wrapper of .Call() that runs exit handlers to clean up C resources. Helps managing C (non-R) resources while using the R API.
Useful links:
https://github.com/r-lib/cleancall#readme
Report bugs at https://github.com/r-lib/cleancall/issues