[Roxygen-devel] Status of R5 support
Rob Tirrell
rpt at stanford.edu
Thu Mar 10 07:40:34 CET 2011
As a quick followup: I've been working on an database abstraction package (
https://github.com/rtirrell/databasr) that makes extensive use of reference
classes. I'd like to release it, but I'm very unexcited at the prospect of
writing Rd by hand. So that's my particular motivation.
--
Robert Tirrell | rpt at stanford.edu | (607) 437-6532
Program in Biomedical Informatics | Butte Lab | Stanford University
On Wed, Mar 9, 2011 at 22:38, Rob Tirrell <rpt at stanford.edu> wrote:
> Based on this discussion, as well as the parallel one on S4, what is the
> way forward? Do any of the core roxygen team foresee working on this in the
> near future? I, for one, would be very excited to see S4/reference classes
> supported more fully. I'd be than willing to help out in some degree, but at
> this point it's not completely clear to me what the next steps are.
>
> --
> Robert Tirrell | rpt at stanford.edu | (607) 437-6532
> Program in Biomedical Informatics | Butte Lab | Stanford University
>
>
>
> On Sat, Mar 5, 2011 at 17:30, Peter Danenberg <pcd at roxygen.org> wrote:
>
>> > How far along are you in supporting S4?
>>
>> Roxygen has basic support for setClass, setGeneric, setMethod; which
>> Manuel Eugster extended in the Rd2 roclet. I was hoping to canvas the
>> list, actually, to determine what's missing.
>>
>> According to Peter Haverty, there's at least one bug where:
>>
>> It wants to do:
>>
>> \S4method{"foo<-"}{bar,character,ANY}(x, i, value)
>>
>> when it should do:
>>
>> \S4method{"foo"}{bar,character,ANY}(x, i) <- value
>>
>> > . . . and how much work would be needed to extend that to Reference
>> > Classes (a significant amount, I'd imagine)?
>>
>> Good question: recognizing the use of `setRefClass' will be trivial;
>> the main work would involve parsing the `fields' and `methods'
>> parameters.
>>
>> The amount of work is directly proportional to how deeply we want to
>> inspect the reference classes for automatically documentable
>> information.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/roxygen-devel/attachments/20110309/18896761/attachment.htm>
More information about the Roxygen-devel
mailing list