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 196, Fri Feb 18 12:52:48 2011 UTC revision 197, Fri Feb 18 14:09:37 2011 UTC
# Line 656  Line 656 
656  default.parsers <-  default.parsers <-
657    c(extra.code.docs=extra.code.docs, ## TODO: cleanup!    c(extra.code.docs=extra.code.docs, ## TODO: cleanup!
658      sapply(forfun.parsers,forfun),      sapply(forfun.parsers,forfun),
     sapply(forall.parsers,forall),  
659      edit.package.file=function(desc,...){      edit.package.file=function(desc,...){
660        in.details <- setdiff(colnames(desc),"Description")        in.details <- setdiff(colnames(desc),"Description")
661        details <- sprintf("%s: \\tab %s\\cr",in.details,desc[,in.details])        details <- sprintf("%s: \\tab %s\\cr",in.details,desc[,in.details])
# Line 666  Line 665 
665                    `tabular{ll}`=details))                    `tabular{ll}`=details))
666        names(L) <- paste(desc[,"Package"],"-package",sep="")        names(L) <- paste(desc[,"Package"],"-package",sep="")
667        L        L
668      }      },
669        sapply(forall.parsers,forall)
670      )      )
671    
672  setClass("DocLink", # Link documentation among related functions  setClass("DocLink", # Link documentation among related functions
# Line 895  Line 895 
895    ## post-process to collapse all character vectors    ## post-process to collapse all character vectors
896    for(i in seq_along(docs)){    for(i in seq_along(docs)){
897      for(j in seq_along(docs[[i]])){      for(j in seq_along(docs[[i]])){
898          if(names(docs[[i]])[j]!="s3method")
899        docs[[i]][[j]] <- paste(docs[[i]][[j]],collapse="\n")        docs[[i]][[j]] <- paste(docs[[i]][[j]],collapse="\n")
900      }      }
901    }    }

Legend:
Removed from v.196  
changed lines
  Added in v.197

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