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 332, Mon Mar 12 12:12:10 2012 UTC revision 335, Thu Apr 5 12:08:07 2012 UTC
# Line 1  Line 1 
1    do.not.generate <- function
2    ### Make a Parser Function used to indicate that certain Rd files
3    ### should not be generated.
4    (...
5    ### Character strings indicating Rd files without the .Rd suffix.
6     ){
7      filenames <- c(...)
8      function(docs,...){
9        for(fn in filenames){
10          docs[[fn]] <- list()
11        }
12        docs$.overwrite <- TRUE
13        docs
14      }
15    ### A Parser Function that will delete items from the outer
16    ### Documentation List.
17    }
18    
19  ### combine lists or character strings  ### combine lists or character strings
20  combine <- function(x,y)UseMethod("combine")  combine <- function(x,y)UseMethod("combine")
21    
# Line 893  Line 911 
911      ## This is the argument list that each parser receives:      ## This is the argument list that each parser receives:
912      L <- p(code=code,objs=objs,docs=docs,env=e,...)      L <- p(code=code,objs=objs,docs=docs,env=e,...)
913      #print(paste(L,"\n"))      #print(paste(L,"\n"))
914        #if(N=="exclude")browser()
915      docs <- combine(docs,L)      docs <- combine(docs,L)
916    }    }
917    ## post-process to collapse all character vectors    ## post-process to collapse all character vectors

Legend:
Removed from v.332  
changed lines
  Added in v.335

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