search for: getsrcfile

Displaying 2 results from an estimated 2 matches for "getsrcfile".

Did you mean: getirfile
2013 Jan 14
1
Issue with getParserData in R3.0.0
...lo, I am migrating my package lambda.r to R3.0.0 and am experiencing some issues with the getParserData function (which replaces the parser package). Basically the function works in the R shell but fails when either called from RUnit or from R CMD check. I've narrowed it down to the function getSrcfile, which is returning different values depending on the code path. From the command line (works okay): debug: srcfile <- getSrcfile(x) Browse[2]> debug: if (is.null(srcfile)) return(NULL) else data <- srcfile$parseData Browse[2]> srcfile <text> When running from the Runit script...
2012 Jul 18
1
Changes to parser in R-devel
I have just committed (in r59883) some changes to the R parser based on Romain Francois' parser package. Packages that made use of parser will hopefully find that the information in base R gives them what they need to work with, but the data is not identical to what parser recorded (since it was not consistent with some things already in R). One reason for the change was that the parser