SCM

SCM Repository

[inlinedocs] Diff of /pkg/inlinedocs/R/parsers.R
ViewVC logotype

Diff of /pkg/inlinedocs/R/parsers.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 212, Wed Mar 9 16:37:25 2011 UTC revision 246, Thu Apr 7 13:21:39 2011 UTC
# Line 892  Line 892 
892    ## which in turn is inlinedocs when processing inlinedocs package, hence    ## which in turn is inlinedocs when processing inlinedocs package, hence
893    ## the clash. The following works (under R 2.12.2), so that the topenv()    ## the clash. The following works (under R 2.12.2), so that the topenv()
894    ## now finds e before finding the inlinedocs environment.    ## now finds e before finding the inlinedocs environment.
895    options(topLevelEnvironment=e)    old <- options(keep.source=TRUE,topLevelEnvironment=e)
   old <- options(keep.source=TRUE)  
896    on.exit(options(old))    on.exit(options(old))
897    exprs <- parse(text=code)    exprs <- parse(text=code)
898    for (i in exprs){    for (i in exprs){
# Line 955  Line 954 
954    apply.parsers(readLines(f),parsers,verbose=FALSE,...)    apply.parsers(readLines(f),parsers,verbose=FALSE,...)
955  },ex=function(){  },ex=function(){
956    f <- system.file("silly","R","silly.R",package="inlinedocs")    f <- system.file("silly","R","silly.R",package="inlinedocs")
957    extract.docs.file(f)    extract.docs.file(f) ##FIXME: warning
958  })  })

Legend:
Removed from v.212  
changed lines
  Added in v.246

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge