[Rd] R CMD INSTALL and windows paths with ampersands
Hadley Wickham
h.wickham at gmail.com
Wed Apr 29 18:35:47 CEST 2015
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/
More information about the R-devel
mailing list