installFoundDepends          package:tools          R Documentation

_A _f_u_n_c_t_i_o_n _t_o _i_n_s_t_a_l_l _u_n_r_e_s_o_l_v_e_d _d_e_p_e_n_d_e_n_c_i_e_s

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

     This function will take the 'Found' element of a 'pkgDependsList'
     object and attempt to install  all of the listed packages from the
     specified repositories.

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

     installFoundDepends(depPkgList, ...)

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

depPkgList: A 'Found' element from a 'pkgDependsList' object

     ...: Arguments to pass on to 'install.packages'

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

     This function takes as input the 'Found' list from a
     'pkgDependsList' object.  This list will have element names being
     URLs corresponding to repositories and the elements will be
     vectors of package names.  For each element, 'install.packages' is
     called for that URL to install all packages listed in the vector.

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

     Jeff Gentry

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

     'pkgDepends', 'install.packages'

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

     ## Set up a temporary directory to install packages to
     tmp <- tempfile()
     dir.create(tmp)

     pDL <- pkgDepends("tools",local=FALSE)
     installFoundDepends(pDL$Found, destdir=tmp)

