This was originally proposed in the [Writing R Packages](http://nescent.github.io/popgenInfo/PACKAGE_TUTORIALS.html) document.