checkMD5sums              package:tools              R Documentation

_C_h_e_c_k _a_n_d _C_r_e_a_t_e _M_D_5 _C_h_e_c_k_s_u_m _F_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     'checkMD5sums' checks the files against a file 'MD5';
     '.installMD5sums' creates such a file.

_U_s_a_g_e:

     checkMD5sums(pkg, dir)
     .installMD5sums(pkgDir, outDir = pkgDir)

_A_r_g_u_m_e_n_t_s:

     pkg: the name of an installed package

dir, pkgDir: the path to the top-level directory of an installed
          package.

  outDir: the directory within which to create the 'MD5' file.

_D_e_t_a_i_l_s:

     The file 'MD5' which is created is in a format which can be
     checked by 'md5sum -c MD5' if a suitable command-line version of
     'md5sum' is available.

     If 'dir' is missing, an installed package of name 'pkg' is
     searched for.

_V_a_l_u_e:

     'checkMD5sums' returns a logical, 'NA' if there is no 'MD5' file
     to be checked.

_S_e_e _A_l_s_o:

     'md5sum'

