zeligDepStatus             package:Zelig             R Documentation

_Z_e_l_i_g _D_e_p_e_n_d_e_n_c_i_e_s _P_a_c_k_a_g_e_s _C_l_i_e_n_t _S_t_a_t_u_s

_D_e_s_c_r_i_p_t_i_o_n:

     Compares Zelig-matrix of dependencies to the locally installed
     packages. Finds those packages that 'Zelig' depends on and are not
     installed in local environment. Also finds those packages that are
     locally installed but with lower versions than those required in
     the dependencies matrix. The Zelig-matrix includes any of
     dependency fields in the 'DESCRIPTION' files, i.e. depends,
     imports and suggests, for any packages directly derived from
     'Zelig' and for any of the models that 'Zelig' supports.

_U_s_a_g_e:

     zeligDepStatus(lib.loc = NULL)

_A_r_g_u_m_e_n_t_s:

 lib.loc: a character vector of directory names  of 'R' libraries, or
          NULL. The default value NULL corresponds to all libraries
          currently known. If the default is used, the loaded packages
          are searched before the libraries. 

_V_a_l_u_e:

     Returns a matrix of packages that are either installed locally 
     with lower versions, or packages not installed but listed in the
     Zelig-matrix of dependencies.  The matrix rows correspond to the
     packages and  the columns contain the following fields 

 Package: names of packages.

 Version: versions locally installed

  Zideal: versions required in Zelig-matrix of dependencies.

_N_o_t_e:

     If the R version in the local environment is different from the R
     version that 'Zelig'   depends on, then, it is reported with a
     message and no futher action is taken.  If the installed packages
     have versions higher than the corresponding  values in the
     Zelig-matrix, it is reported with a message.

_A_u_t_h_o_r(_s):

     Ferdinand Alimadhi and Elena Villalon

_R_e_f_e_r_e_n_c_e_s:

     King, Gary. Zelig: Everyones Statistical Software.  <URL:
     http://gking.harvard.edu/zelig>.

_S_e_e _A_l_s_o:

     'installed.packages' 'packageDescription' 'zeligDepUpdate'

_E_x_a_m_p_l_e_s:

     ## find packages in all libraries currently installed
     ## Not run: zstatus <- zeligDepStatus()
     ## find packages only in lib.loc
     ## Not run: zstatus <- zeligDepStatus(lib.loc="~/.R/mylibrary")

