Skip to contents

R8 caches the method each generic selected for the chain of its arguments' types, keyed by each argument's type or class vector, and clears the cache when an impl is declared. An S4 class's superclasses belong to its class definition, so methods::setIs() or methods::setClassUnion() on an existing class changes the chain of objects of that class without an impl's declaration; a session that does so after a generic of an impl on the new superclass ran calls r8clear_dispatch().

Usage

r8clear_dispatch()

Value

NULL, invisibly.

Examples

r8clear_dispatch()