format fixes to r doc