Passes R CMD check, docs in progress