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 204, Fri Feb 18 16:48:22 2011 UTC revision 209, Fri Feb 25 08:15:10 2011 UTC
# Line 920  Line 920 
920  ### description file.  ### description file.
921  nondesc.parsers <- default.parsers[non.descfile.names]  nondesc.parsers <- default.parsers[non.descfile.names]
922    
923  extract.docs.file <- function  extract.docs.file <- structure(function
924  ### Apply all parsers relevant to extract info from just 1 code file.  ### Apply all parsers relevant to extract info from just 1 code file.
925  (f,  (f,
926  ### File name of R code to read and parse.  ### File name of R code to read and parse.
# Line 932  Line 932 
932   ){   ){
933    if(is.null(parsers))parsers <- nondesc.parsers    if(is.null(parsers))parsers <- nondesc.parsers
934    apply.parsers(readLines(f),parsers,verbose=FALSE,...)    apply.parsers(readLines(f),parsers,verbose=FALSE,...)
935  }  },ex=function(){
936      f <- system.file("silly","R","silly.R",package="inlinedocs")
937      extract.docs.file(f)
938    })

Legend:
Removed from v.204  
changed lines
  Added in v.209

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