mkdir "A&"
R
# install.packages("pkgKitten")
pkgKitten::kitten("aPackage", "A&")
q()
R CMD INSTALL "A&"

gives

Warning invalid package A
(not the absence of the ampersand)

I'm reasonably certain this is a bug - I don't think ampersands should
require any additional escaping when already double quoted.

Note that

R CMD INSTALL "A^&"

does work

Hadley

-- 
http://had.co.nz/

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

Reply via email to