Dear 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 beforeand to the one rendered locally. Specifically: If the reference-section looks like this

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

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

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

In the references there are no direct links but a numbered footnotes in a mono-spaced font running beyond the right margin of the page. 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

ABE.Rd is correctly rendered into ABE.html

In the two footnotes of the PDF links are 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’m aware 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.schu...@bebac.at
W https://bebac.at/
C https://bebac.at/Contact.htm
F https://forum.bebac.at/

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to