The R Project SVN R

Rev

Rev 89661 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89661 Rev 89701
Line 1... Line 1...
1
% File src/library/tools/man/checkMD5sums.Rd
1
% File src/library/tools/man/checkMD5sums.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2015 R Core Team
3
% Copyright 1995-2026 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{checkMD5sums}
6
\name{checkMD5sums}
7
\alias{checkMD5sums}
7
\alias{checkMD5sums}
8
\title{Check and Create MD5 Checksum Files}
8
\title{Check and Create \file{MD5} Checksum Files}
9
\description{
9
\description{
10
  \code{checkMD5sums} checks the files against a file \file{MD5}.
10
  \code{checkMD5sums} checks the files against a file \file{MD5}.
11
}
11
}
12
\usage{
12
\usage{
13
checkMD5sums(package, dir)
13
checkMD5sums(package, dir)
Line 25... Line 25...
25
 
25
 
26
  If \code{dir} is missing, an installed package of name \code{package}
26
  If \code{dir} is missing, an installed package of name \code{package}
27
  is searched for.
27
  is searched for.
28
 
28
 
29
  The private function \code{tools:::.installMD5sums} is used to create
29
  The private function \code{tools:::.installMD5sums} is used to create
30
  \code{MD5} files.
30
  \file{MD5} files.
31
}
31
}
32
\note{
32
\note{
33
  The use of the \code{MD5} files has been deprecated in favor of
33
  As from \R 4.6.0, the use of \file{MD5} files has been deprecated in
34
  \code{SHA256} files checked by \code{\link{checkSHA256sums}} since
34
  favor of \file{SHA256} files checked by \code{\link{checkSHA256sums}},
35
  MD5 hashes are succeptible to hash-collision and length-extension
35
  since MD5 hashes are susceptible to hash-collision and length-extension
36
  attacks and therefore are only suitable for integrity checks and not
36
  attacks and therefore are only suitable for integrity checks and not
37
  for verification of authenticity.
37
  for verification of authenticity.
38
}
38
}
39
\value{
39
\value{
40
  \code{checkMD5sums} returns a logical, \code{NA} if there is no
40
  \code{checkMD5sums} returns a logical, \code{NA} if there is no