documentation now passes R CMD check