Displaying 1 result from an estimated 1 matches for "switcharoo".
Did you mean:
switch_root
2006 Apr 24
0
String substitution on package install?
...t in some file (say foo.R). If I source() that file, the
function appears properly. However, if I put that file in a package, and
do a R CMD INSTALL on that package, it appears as such:
function ()
{
test <- "This is a test"
grep("^FOO_\\\\\\\\\\\\\\", test)
}
The switcharoo on the text in the grep() call was the source of the
errors, btw.
I originally saw this today on a cut of R-devel from late last week, but
then did a svn up from just now and saw it again (I realize that neither
are officially R-2.3.0 but the time window was less than a few days). I
tried it on R...