Fix R CMD check: code/documentation mismatches