[R-pkg-devel] URLencode at DESCRIPTION file and citation()
Amanda Rehbein
@m@nd@@rehbe|n @end|ng |rom u@p@br
Sun Nov 1 21:28:14 CET 2020
Dear R-Devs,
I was wondering if someone could please help me to with two errors when
submitting a package to CRAN.
1) At the DESCRIPTION file I added some DOI's with curled brackets "<>"
inside the "<>" (e.g. <doi:10.1175/1520-0469(1981)038<1179:TSLROA>2.0.CO;2>).
I tried URLencode() the string in R and copy/paste the output into
the DESCRIPTION file, like this:
<doi:10.1175/1520-0469(1981)038%3C1179:TSLROA%3E2.0.CO;2>. But when I load,
build, check, etc, and ?raytracing the DOI does not appear correctly.
Everything after the first "%" disappeared and obviously, the DOI doesn't
work anymore.
2) I have a CITATION file at the sub-directory ins. Its content is like
this:
citHeader("To cite raytracing in publications use one of below:")
citEntry(entry = "manual",
title = "Atmospheric Rossby waves identification and tracking
with a raytracing numerical model",
author = personList(c(person("Amanda", "Rehbein"),
person("Tercio", "Ambrizzi"),
person("Sergio", "Ibarra-Espinosa"),
person("Livia M. M.", "Dutra"))),
year = "2020",
url = "https://github.com/salvatirehbein/raytracing",
textVersion =
paste0("Rehbein, A., Ambrizzi, T., Ibarra-Espinosa, S., Dutra, L. M. M.:
Atmospheric Rossby waves identification and tracking with a raytracing
numerical model ", packageVersion("raytracing"), ".
https://github.com/salvatirehbein/raytracing, 2020.")
)
It passes all checks and gives a-okay citation when I type
citation("raytracing"). However, it fails in the CRAN tests with the
following error message.
Reading CITATION file fails with
there is no package called 'raytracing'
when package is not installed.
I will be very thankful for any help with this! Best,
Amanda
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list