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 142, Wed Oct 20 09:21:53 2010 UTC revision 144, Wed Oct 20 09:33:04 2010 UTC
# Line 195  Line 195 
195         },         },
196         definition.from.source=function(doc,src,...){         definition.from.source=function(doc,src,...){
197           def <- doc$definition           def <- doc$definition
198           if(is.null(def)||def=="")           is.empty <- function(x)is.null(x)||x==""
199             if(is.empty(def) && !is.empty(src))
200             list(definition=paste(src,collapse="\n"))             list(definition=paste(src,collapse="\n"))
201           else list()           else list()
202         })         })

Legend:
Removed from v.142  
changed lines
  Added in v.144

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