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'

