[R] Package manual built by CRAN

Helmut Schütz he|mut@@chuetz @end|ng |rom beb@c@@t
Thu Jul 25 17:12:20 CEST 2019


Deer all,

recently I noticed an unexpected effect. The PDF-manual built from the 
package’s .Rd-files looked different to what I was used to before and to 
the one rendered locally. Specifically: If the reference-section looks 
like this

\references{
   foo \href{bar}{baz}
   ...
}

previously "foo" will be intended (like a normal paragraph), "bar" 
formatted in red and "baz" the URL.

Example: 
https://cran.r-project.org/web/packages/replicateBE/replicateBE.pdf 
(first occurrence at page 5).

In the references not a direct link but a numbered footnote in a 
monospaced font running beyond the right margin of the page. 
Furthermore, the URLs in the footnotes are not correct. The two links of 
page 5:
In ABE.Rd
https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-investigation-bioequivalence-rev1_en.pdf
https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-pharmacokinetic-clinical-evaluation-modified-release-dosage-forms_en.pdf
Correct links in ABE.html
In the two footnotes of the PDF truncated
https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-investigation-bioequivalence-rev1_
https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-pharmacokinetic-clinical-evaluation-modified-release-dosage-forms_
Of course, both are punished with a HTTP 404.

Cheers,
Helmut

PS: I know that
\references{
   \enumerate{
     \item foo \href{bar}{baz}
   }
}
produces _exactly_ this effect. Didn't use it.

-- 
Ing. Helmut Schütz
BEBAC – Consultancy Services for
Bioequivalence and Bioavailability Studies
Neubaugasse 36/11
1070 Vienna, Austria
T +43 1 2311746
M +43 699 10792458
E helmut.schuetz using bebac.at
W https://bebac.at/
C https://bebac.at/Contact.htm
F https://forum.bebac.at/



More information about the R-help mailing list