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

     ## S3 method for class 'packageStatus':
     summary(object, ...)

     ## S3 method for class 'packageStatus':
     update(object, lib.loc = levels(object$inst$LibPath),
            repositories = levels(object$avail$Repository), ...)

     ## S3 method for class 'packageStatus':
     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:

     ## Don't run: 
     x <- packageStatus()
     print(x)
     summary(x)
     upgrade(x)
     x <- update(x)
     print(x)
     ## End Don't run

