getInstallOrder         package:pkgDepTools         R Documentation

_L_i_s_t _p_a_c_k_a_g_e _d_e_p_e_n_d_e_n_c_i_e_s _i_n _i_n_s_t_a_l_l _o_r_d_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     This function uses a dependency graph created with 'makeDepGraph'
     to list all (recursive) dependencies of a given package in an
     order suitable for installation.

_U_s_a_g_e:

     getInstallOrder(pkg, depG, needed.only = TRUE)

_A_r_g_u_m_e_n_t_s:

     pkg: character string name of package

    depG: 'graphNEL' instance as returned from 'makeDepGraph'.   

needed.only: logical value.  When 'TRUE', only those dependencies not
          currently installed are included in the list, this is the
          default.  When 'FALSE' the complete list of dependencies is
          given regardless of the set of currently installed packages.

_V_a_l_u_e:

     a list with components:

packages : character vector of package names in an order suitable for
          installation.  The order is not unique.  The names of the
          character vector are the estimated download sizes of each
          package.

total.size: When available, the total size in megabytes of all listed
          dependencies.

_A_u_t_h_o_r(_s):

     Seth Falcon

