methods-defunct           package:methods           R Documentation

_D_e_f_u_n_c_t _F_u_n_c_t_i_o_n_s _i_n _t_h_e _M_e_t_h_o_d_s _P_a_c_k_a_g_e

_D_e_s_c_r_i_p_t_i_o_n:

     Defunct functions in package 'methods'.

_U_s_a_g_e:

     getAccess(ClassDef)
     getClassName(ClassDef)
     getClassPackage(ClassDef)
     getExtends(ClassDef)
     getProperties(ClassDef)
     getPrototype(ClassDef)
     getSubclasses(ClassDef)
     getVirtual(ClassDef)

     getAllMethods(f, fdef, where)
     mlistMetaName (name, package)
     removeMethodsObject(f, where)

     seemsS4Object(object)

     allGenerics()

_D_e_t_a_i_l_s:

     The first block of functions should be replaced by direct access
     to the slots, or by use of higher-level alternatives.

     The functions and corresponding slots are:

       'getAccess'        '"access"'
       'getClassName'     '"className"'
       'getClassPackage'  '"package"'
       'getExtends'       '"contains"'
       'getProperties'    '"slots"'
       'getPrototype'     '"prototype"'
       'getSubclasses'    '"subclasses"'
       'getVirtual'       '"virtual"'

     'getAllMethods' replicated the behavior of 'getMethods', which
     should be called instead to obtain approximately the old behavior
     of 'getAllMethods'.  However, a better substitution is to use
     'findMethods', which returns a simpler structure.

     'mlistMetaName' was a utility to  return the mangled name for the
     object that stored the 'MethodsList' representation of the methods
     for a particular generic function, typically in the environment of
     a package.  These objects are no longer used.

     'removeMethodsObject' removed the metadata object containing
     methods for 'f'.

     'seemsS4Object' was similar to 'isS4' and superseded by the
     introduction of the S4 bit in R 2.4.0.

     'allGenerics' is superseded by 'getGenerics'.

_S_e_e _A_l_s_o:

     'Defunct'

