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'

