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)

_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.

_S_e_e _A_l_s_o:

     'Defunct'

