File tree Expand file tree Collapse file tree 11 files changed +17
-15
lines changed
Expand file tree Collapse file tree 11 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 532532
533533 \i tem \c ode{sQuote()} and \c ode{dQuote()} get an explicit \c ode{q}
534534 argument with obvious default instead of using
535- \c ode{getOption("fancyQuotes ")} implicitly and unconditionally.
535+ \c ode{getOption("useFancyQuotes ")} implicitly and unconditionally.
536536
537537 \i tem \c ode{unzip()} can list archives with comments and with
538538 spaces in file names even using an external \c ommand{unzip} command.
Original file line number Diff line number Diff line change 206206%% R_PROFILE is used in src / main / startup.c
207207\seealso {
208208 For the definition of the \sQuote {home } directory on Windows see the
209- \file {rw - FAQ } Q2.14 . It can be found from a running \R by
209+ \file {rw - FAQ } 2.13 . It can be found from a running \R by
210210 \code {Sys.getenv(" R_USER" )}.
211211
212212 \code {\link {.Last }} for final actions at the close of an \R session.
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ is.array(x)
5757
5858 \code {is.array } is a \link {primitive } function .
5959
60- For a list array , the \code {print } methods prints entries of length
60+ For a list array , the \code {print } method prints entries of length
6161 not one in the form \samp {integer ,7 } indicating the type and length.
6262}
6363\value {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ path.expand(path)
3131 }
3232 \i tem{On Windows:}{
3333 The definition of the \s Quote{home} directory is in the \f ile{rw-FAQ}
34- Q~ 2.13: it is taken from the \e nv{R_USER} environment variable (or
34+ 2.13: it is taken from the \e nv{R_USER} environment variable (or
3535 possibly \e nv{HOME} if \e nv{R_USER} is not set)
3636 when \c ode{path.expand} is first called in a session.
3737
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ graphics.off()
8181
8282 \code {dev.list } returns the numbers of all open devices , except device
8383 1 , the null device. This is a numeric vector with a
84- \code {\link {names }} attribute giving the device names , or \code {NULL } is
84+ \code {\link {names }} attribute giving the device names , or \code {NULL } if
8585 there is no open device.
8686
8787 \code {dev.next } and \code {dev.prev } return the number and name of the
Original file line number Diff line number Diff line change 11# File src/library/tools/R/md5.R
22# Part of the R package, https://www.R-project.org
33#
4- # Copyright (C) 1995-2022 The R Core Team
4+ # Copyright (C) 1995-2024 The R Core Team
55#
66# This program is free software; you can redistribute it and/or modify
77# it under the terms of the GNU General Public License as published by
1818
1919md5sum <- function (files , bytes ) {
2020 if (! missing(files ) && ! missing(bytes ))
21- stop(" files and bytes are mutually exclusive" )
21+ stop(" ' files' and ' bytes' are mutually exclusive" )
2222 if (! missing(bytes )) {
23- if (! is.raw(bytes )) stop(" bytes must be a raw vector" )
23+ if (! is.raw(bytes )) stop(" ' bytes' must be a raw vector" )
2424 .Call(C_Rmd5 , bytes )
2525 } else {
2626 files <- path.expand(files )
Original file line number Diff line number Diff line change 1818
1919sha256sum <- function (files , bytes ) {
2020 if (! missing(files ) && ! missing(bytes ))
21- stop(" files and bytes are mutually exclusive" )
21+ stop(" ' files' and ' bytes' are mutually exclusive" )
2222 if (! missing(bytes )) {
23- if (! is.raw(bytes )) stop(" bytes must be a raw vector" )
23+ if (! is.raw(bytes )) stop(" ' bytes' must be a raw vector" )
2424 .Call(C_Rsha256 , bytes )
2525 } else {
2626 files <- path.expand(files )
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ md5sum(files, bytes)
3232 correctly and not subsequently accidentally modified.
3333}
3434\value {
35- A character vector of the same length as \code {files }, with names
35+ If used with \code {files },
36+ a character vector of the same length as \code {files }, with names
3637 equal to \code {files } (possibly expanded ). The elements will be
3738 \code {NA } for non - existent or unreadable files , otherwise a
3839 32 - character string of hexadecimal digits.
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ sha256sum(files, bytes)
2727 mode (almost always text mode where there is more than one ).
2828}
2929\value {
30- A character vector of the same length as \code {files }, with names
30+ If used with \code {files },
31+ a character vector of the same length as \code {files }, with names
3132 equal to \code {files } (possibly expanded ). The elements will be
3233 \code {NA } for non - existent or unreadable files , otherwise a
3334 64 - character string of hexadecimal digits.
@@ -36,7 +37,7 @@ sha256sum(files, bytes)
3637}
3738\source {
3839 The underlying C code was written by \I {Ulrich Drepper }, extracted from
39- the public domain version SHA - crypt.txt version 0.6 (2016 - 8 - 31 ).
40+ the public domain version \ file { SHA - crypt.txt } version 0.6 (2016 - 8 - 31 ).
4041}
4142\seealso {
4243 \code {\link {md5sum }}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ as.POSIXct("2040-01-01 12:00")
2121as.POSIXct(" 2040-07-01 12:00" )
2222
2323Sys.setenv(TZ = " EST5EDT" ) # also pretty much portable.
24- # # However, tzdata 2024b changed this from EST to LMY (and by 238s)
24+ # # However, tzdata 2024b changed this from EST to LMT (and by 238s)
2525(z <- as.POSIXct(" 1848-01-01 12:00" ))
2626c(unclass(z ))
2727# # see comment above
You can’t perform that action at this time.
0 commit comments