I'd personally prefer that if there is such functionality, it is disabled
by default, since we tend to like to hide new(). Since overriding
initialize is problematic, using new() would expose the slots, which are
normally considered implementation details. Others may differ.
Michael
On Wed, Sep 1
On Wed, Sep 12, 2012 at 10:21 AM, Hadley Wickham wrote:
> >> * a picture showing the class graph to the class documentation
> >> * a list of "nearby" methods to method documentation
> >
> > I miss the old CallGraph functionality from the original roxygen, so I'd
> > like to hope that any graphing
On Fri, Dec 16, 2011 at 3:10 PM, Andrew Redd wrote:
> roxygen users,
> I'm new to the list, so please forgive my naivete. I'm also getting
> used to using roxygen2 package for documentation. I have used doxygen
> a little in the past.
>
> I saw the discussion on the archive about S4 documentat
ass of the same name and generate an
importClassesFrom() directive. User should be able to override, just in
case it picks the wrong package.
When a method is defined for a generic not defined in the package, search
the dependencies and importFrom() it.
On Sat, Nov 12, 2011 at 5:55 AM, Michae
On Mon, Nov 14, 2011 at 9:21 AM, Hadley Wickham wrote:
> > In roxygen (v1) existing Rd files in the Rd directory are merged with
> > the documentation generated by roxygen based on the file name and
> > @rdname.
> >
> > Maybe we can implement something similar in roxygen2? Would that help?
>
> I
On Mon, Nov 14, 2011 at 7:08 AM, Hadley Wickham wrote:
> > Although in many cases one could create such class-based
> methods
> > with simple functions, if someone wants to override one in a subclass,
> they
> > will need to create a method (which would create an implicit generic,
> > defaulting
Hey guys,
These are the two basic design approaches when it comes to S4 programming:
1) Generic-centric: This corresponds to Hadley's first classification and
is the "functional OOP" style, where there is a function that is "extended"
with methods.
2) Class-centric: This is the conventional clas