getVigDeps            package:reposTools            R Documentation

_A _f_u_n_c_t_i_o_n _t_o _e_x_t_r_a_c_t _d_e_p_e_n_d_e_n_c_i_e_s

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

     These function will return a vector of dependencies for either a
     vignette or an installed package (respectively).  Each element of
     the vector will represent a single dependency and may also contain
     in the string any version requirements.

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

     getObjectDeps(x, suggests=TRUE, uses=TRUE)
     getVigDeps(x, suggests=TRUE, uses=TRUE)
     getPkgDeps(x, suggests=TRUE, uses=TRUE)

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

       x: The name of the object 

suggests: Whether or not to load 'suggests' level dependencies

    uses: Whether or not to load 'uses' level dependencies

_D_e_t_a_i_l_s:

     Obtains the information from the VignetteDepends directive in the
     vignette header, or the DESCRIPTION file for the package.  

     getObjectDeps is used if one is not sure if 'x' represents a
     package or a vignette.  It is a simple wrapper for these two
     functions.

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

     A character vector of dependencies, or an empty vector

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

     Jeff Gentry

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

     'load.depends','depends'

_E_x_a_m_p_l_e_s:

        getPkgDeps("affy")

