[Rd] Potential bug in utils::citation()
zkamvar at gmail.com
Sun Apr 2 23:26:37 CEST 2017
I believe the function utils::citation() will fail if the package specified has two or more citation entries in the current R-devel. The following error is issued:
'missing' can only be used for arguments
I have created a working example on github  that is build using R-devel on travis-ci . Jim Hester has potentially identified  the source of the problem as being from a commit on the 27th [3, 4]. I do not have R-devel built on my machine, but I believe this error can be reproduced on the current R-devel with:
if (require("boot") & require("utils")) utils::citation("boot")
My package poppr suddenly started failing check on R-devel during a weekly travis-ci job  due to the error above. Another package of mine, ezec, passed . Both contain calls to utils::citation() within the vignettes, but poppr has two citations and ezec only has one (called from another package).
Zhian N. Kamvar, Ph. D.
Postdoctoral Researcher (Everhart Lab)
Department of Plant Pathology
University of Nebraska-Lincoln
More information about the R-devel