.methodWithNext | R Documentation |
Promotes the given method definition to an instance of
MethodWithNext
, thereby recording the next
method in the nextMethod
slot.
.methodWithNext(method, nextMethod, .cache = FALSE)
method |
the |
nextMethod |
the |
.cache |
whether to cache the promoted method definition object
(using |
an instance of MethodWithNext
,
which has the next method in the nextMethod
slot
MethodWithNext
objects are normally returned by
methods::addNextMethod()
, but a constructor function for the class
seems missing (or is undocumented?). This provides one.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.