getrecord roxygen fixes

plus other fixes to roxygen code that allow us to build the documentation. Also adds a specific import rather than entire package.