Close to working version
Functioning version - No documentation

Passes all code checks performed by 'r CMD check', but this commit is
missing nearly all documentation.