package.contents            package:base            R Documentation

_P_a_c_k_a_g_e _C_o_n_t_e_n_t_s _a_n_d _D_e_s_c_r_i_p_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Parses and returns the `CONTENTS' and `DESCRIPTION' file of a
     package.

_U_s_a_g_e:

     package.contents(pkg, lib = .lib.loc)
     package.description(pkg, lib = .lib.loc, fields = NULL)

_A_r_g_u_m_e_n_t_s:

     pkg: A character string with the package name.

     lib: A character vector with path names of R package libraries.

  fields: A character vector of fields to return (if other fields occur
          in the file they are ignored.

_S_e_e _A_l_s_o:

     `parse.dcf'

_E_x_a_m_p_l_e_s:

     package.contents("mva")

