SCM

SCM Repository

[inlinedocs] Log of /pkg/inlinedocs/man/extract.docs.setClass.Rd
[inlinedocs] / pkg / inlinedocs / man / extract.docs.setClass.Rd  
ViewVC logotype

Log of /pkg/inlinedocs/man/extract.docs.setClass.Rd

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 91 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 3 14:17:02 2010 UTC (9 years, 2 months ago) by tdhock
File length: 1460 byte(s)
Diff to previous 90
doc update after added new parser list feature

Revision 90 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 3 14:03:10 2010 UTC (9 years, 2 months ago) by tdhock
File length: 1308 byte(s)
Diff to previous 84
unix line endings

Revision 84 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 22 10:11:18 2010 UTC (9 years, 2 months ago) by kmpont
File length: 1346 byte(s)
Diff to previous 75
Further fixes for S3 methods declared with setMethodS3

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".

2) fix for behaviour of package.skeleton, which, as used within this
package, for a function "[[.Distribution" generates a file with name
"z[[.Distribution.Rd"

3) prints S3method calls suitable for inclusion in a NAMESPACE file

The mechanism depends on the parse of the source file picking up and
setting the "created" field to "setMethodS3". Something similar might work
for other ways of creating S3 generics, but I am not currently clear how to
pick those up reliably.

Revision 75 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 12 09:30:28 2010 UTC (9 years, 3 months ago) by tdhock
File length: 1308 byte(s)
Diff to previous 70
docs update, passes r cmd check, upload to cran

Revision 70 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 15 09:42:36 2010 UTC (9 years, 6 months ago) by kmpont
File length: 1433 byte(s)
Diff to previous 62
Completed experimental implementation for S3 classes using R.oo.

1) Search for comments preceding definition now uses parse on file
   insteadof grep via new method extract.file.parse. This works for more
   ways of defining values and does not require blank lines after
   definitions.

2) When an S3 generic is defined using setMethodS3:
a) the generic is documented with a copy of the inline documentation for the
   specific.
b) (Very experimental!) further definitions of the same generic inherit
   documentation from the first version defined in the same source file.
   The idea is to avoid repeating documentation when defining the generic
   repeatedly for an inheritance hierarchy.
   Thus if an argument is not documented, the documentation from the first
   version of the generic will be used. At present this applies to _all_
   documentation entries, but that may be reduced in the future.

3) Further minor tweaks:
a) fixes to work around package.skeleton issue: if a default argument
   contains a "%" character, then it should be escaped in the skeleton
   \usage, but is not, causing things to break nastily.
b) If documentation for an object contains an explicit title but no
   description, then the title is copied into the description in order
   to avoid warnings from the package checking process which requires
   description to be present. The idea here is to simplify generating
   documentation for small methods by reducing it to the bare minimum.

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Dec 8 15:00:47 2009 UTC (9 years, 7 months ago) by tdhock
File length: 1393 byte(s)
update email address, add new extract pages

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge