This would potentially allow easier debugging when tracking down memory issues.
Basically you would need to add a call to a function in .onLoad() that initializes the precious list for that package.
For rmarkdown use cases we would use the cpp11 namespace to hold the list.