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")

