[inlinedocs] tabs before comments and symbols, S3 methods

Thomas Wutzler twutz at bgc-jena.mpg.de
Mon May 3 08:37:48 CEST 2010


This was not a good suggestion. It has the same merit as the other
pattern. It does not capture things like "myfunction.data.frame"

Is it possible to use the information from the parsed file also in the
inspection of the source code?
The information of the two parts is already extracted.

Thomas

Thomas Wutzler wrote:
> Dear Keith,
> 
>> 1) automatically generates \method{}{} markup which should be correct if
>> and only if the generic name is everything up to but not including the
>> first period in the function name. Thus this will not work properly if a
>> generic function has a name like "my.generic" so that the specific
>> function
>> is "my.generic.my_type".
> How about the following pattern?
> "^(.*)\\.([^\\.]+)$"
> 
> This allows generics including a dot . e.g. "as.data.frame" (I
> encountered exactly this case)
> But it does not allow for objects names with a dot.
> 
> Thomas
> 
> 


More information about the Inlinedocs-support mailing list