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'.

_U_s_a_g_e:

     checkMD5sums(package, dir)

_A_r_g_u_m_e_n_t_s:

 package: the name of an installed package

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

_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.  (One is supplied in the bundle at <URL:
     http://www.murdoch-sutherland.com/Rtools/tools.zip>.)

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

     The private function 'tools:::.installMD5sums' is used to create
     'MD5' files in the Windows build.

_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'

