Make transformMethod() correctly handle unary ! generic.

git-svn-id: https://svn.r-project.org/R/trunk@66739 00db46b3-68df-0310-9c12-caf00c1e9a41
Re-try building the refman with index before throwing an error:
This seems to help with boundary cases where hyperlinks get broken across
pages.

git-svn-id: https://svn.r-project.org/R/trunk@66740 00db46b3-68df-0310-9c12-caf00c1e9a41