packageStatus              package:base              R Documentation

_P_a_c_k_a_g_e _M_a_n_a_g_e_m_e_n_t _T_o_o_l_s

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

     Summarize information about installed packages and packages
     available at various repositories, and automatically upgrade
     outdated packages. These tools will replace `update.packages' and
     friends in the future and are currently work in progress.

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

     packageStatus(lib.loc = NULL, repositories = getOption("repositories"))
     summary(object, ...)
     update(object, lib.loc=levels(object$inst$LibPath),
            repositories=levels(object$avail$Repository), ...)
     upgrade(object, ask=TRUE, ...)

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

 lib.loc: a character vector describing the location of R library trees
          to search through, or `NULL'.  The default value of `NULL'
          corresponds to all libraries currently known.

repositories: a character vector of URLs describing the location of R
          package repositories on the Internet or on the local machine.

  object: return value of `packageStatus'.

     ask: if `TRUE', the user is prompted which packages should be
          upgraded and which not.

     ...: currently not used.

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

     x <- packageStatus()
     print(x)
     summary(x)
     upgrade(x)
     x <- update(x)
     print(x)

