| Line 24... |
Line 24... |
| 24 |
pointers be set to \code{0x00000000} before comparison?}
|
24 |
pointers be set to \code{0x00000000} before comparison?}
|
| 25 |
\item{Log}{logical: should the returned value include a log of
|
25 |
\item{Log}{logical: should the returned value include a log of
|
| 26 |
differences found?}
|
26 |
differences found?}
|
| 27 |
}
|
27 |
}
|
| 28 |
\details{
|
28 |
\details{
|
| - |
|
29 |
|
| 29 |
The \R startup banner and any timing information from \command{R CMD
|
30 |
The \R startup banner and any timing information from \command{R CMD
|
| 30 |
BATCH} are removed from both files, together with lines about
|
31 |
BATCH} are removed from both files, together with lines about
|
| 31 |
loading packages. UTF-8 fancy quotes (see \code{\link{sQuote}}) and
|
32 |
loading packages. UTF-8 fancy quotes (see \code{\link{sQuote}}) and
|
| 32 |
on Windows, Windows' so-called \sQuote{smart quotes}, are mapped to
|
33 |
on Windows, Windows' so-called \sQuote{smart quotes}, are mapped to
|
| 33 |
a simple quote. Addresses of environments, compiled bytecode and
|
34 |
a simple quote. Addresses of environments, compiled bytecode and
|
| 34 |
other exotic types expressed as hex addresses
|
35 |
other exotic types expressed as hex addresses
|
| 35 |
(e.g. \code{<environment: 0x12345678>}) are mapped to
|
36 |
(e.g. \code{<environment: 0x12345678>}) are mapped to
|
| 36 |
\code{0x00000000}. The files are then compared line-by-line. If
|
37 |
\code{0x00000000}. The files are then compared line-by-line. If
|
| 37 |
there are the same number of lines and \code{useDiff} is false, a
|
38 |
there are the same number of lines and \code{useDiff} is false, a
|
| 38 |
simple \command{diff}-like display of differences is printed (which
|
39 |
simple \command{diff -b} -like display of differences is printed
|
| 39 |
ignores differences in consecutive spaces), otherwise \command{diff
|
40 |
(which ignores trailing spaces and differences in numbers of
|
| 40 |
-bw} is called on the edited files. (This tries to ignore all
|
41 |
consecutive spaces), otherwise \command{diff -bw} is called on the
|
| 41 |
differences in whitespace: note that flag \option{-w} is not
|
42 |
edited files. (This tries to ignore all differences in whitespace:
|
| 42 |
required by POSIX but is supported by GNU, Solaris and FreeBSD
|
43 |
note that flag \option{-w} is not required by POSIX but is supported
|
| 43 |
versions.)
|
44 |
by GNU, Solaris and FreeBSD versions.)
|
| 44 |
|
45 |
|
| 45 |
This can compare uncompressed PDF files, ignoring differences in
|
46 |
This can compare uncompressed PDF files, ignoring differences in
|
| 46 |
creation and modification dates.
|
47 |
creation and modification dates.
|
| 47 |
}
|
48 |
}
|
| 48 |
\value{
|
49 |
\value{
|