first crack at package-i-fying rGLM