Skip to content

Commit ddf9b77

Browse files
author
smeyer
committed
spelling/markup
git-svn-id: https://svn.r-project.org/R/trunk@87299 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 42172b2 commit ddf9b77

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

doc/NEWS.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255

256256
\item The functions \code{R_strtod} and \code{R_atof} now allow
257257
hexadecimal constants without an exponent, for compatibility with
258-
their C99 versions, (\PR{18805})
258+
their C99 versions (\PR{18805}).
259259
}
260260
}
261261

src/library/base/man/DateTimeClasses.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
default macOS).
207207
208208
Note that the internal list structure is somewhat hidden, as many
209-
methods (including \code{\link{length}(x)}, \code{\link{print}()} and
209+
methods (including \code{\link{length}()}, \code{\link{print}()} and
210210
\code{\link{str}()}) apply to the abstract date-time vector, as for
211211
\code{"POSIXct"}. One can extract and replace \emph{single}
212212
components via \code{[} indexing with \emph{two} indices (see the

src/library/base/man/Dates.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
}
6969
\section{Warning}{
7070
Do not use \code{\link{identical}()} on objects of class \code{"Date"}.
71-
Their \code{\link{storage.mode}} may be \code{"dpuble"} or
71+
Their \code{\link{storage.mode}} may be \code{"double"} or
7272
\code{"integer"}, and which is chosen has depended on the version of
7373
\R used to create the object.
7474
}

src/library/base/man/StackOverflows.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545

4646
Stack overflow errors can be caught and handled by exiting handlers
47-
established with \code{\link{tryCatch}()} Calling handlers established
47+
established with \code{\link{tryCatch}()}. Calling handlers established
4848
by \code{\link{withCallingHandlers}()} may fail since there may not be
4949
enough stack space to run the handler. In this case the next available
5050
exiting handler will be run, or error handling will fall back to the

src/library/base/man/strsplit.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ strsplit(x, split, fixed = FALSE, perl = FALSE, useBytes = FALSE)
108108
\code{\link{paste}} for the reverse,
109109
\code{\link{grep}} and \code{\link{sub}} for string search and
110110
manipulation; also \code{\link{nchar}}, \code{\link{substr}},
111-
\code{\link{startsWith}()}, and \code{endsWith()}.
111+
\code{\link{startsWith}}, and \code{\link{endsWith}}.
112112

113113
\sQuote{\link{regular expression}} for the details of the pattern
114114
specification.

src/library/base/man/substr.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ substring(text, first, last = 1000000L) <- value
8989
Wadsworth & Brooks/Cole. (\code{substring}.)
9090
}
9191
\seealso{
92-
\code{\link{startsWith}} and \code{endsWith()};
92+
\code{\link{startsWith}} and \code{\link{endsWith}};
9393
\code{\link{strsplit}}, \code{\link{paste}}, \code{\link{nchar}}.
9494
}
9595
\examples{

src/library/base/man/timezones.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ OlsonNames(tzdir = NULL)
225225
\section{Warnings}{
226226
%% glibc and macOS have _POSIX_TZNAME_MAX and define it as 6.
227227
%% Earlier versions of R's code assumed 10, and it was discovered
228-
%% that some implemntations did not abbreviate unusual names, thereby
228+
%% that some implementations did not abbreviate unusual names, thereby
229229
%% exceeding this.
230230
%% Olson's tzcode has a limit of 255 and does not check: this has been
231231
%% corrected in R's copy.

src/main/util.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2139,10 +2139,10 @@ double R_strtod5(const char *str, char **endptr, char dec,
21392139
int n, expn = 0;
21402140
if(strlen(p) > 2 && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) { // Hexadecimal "0x....."
21412141
/* Prior to 4.5.0 this did not allow forms such as 0x1.234
2142-
without an exponent.: C99 allow this and implictly
2142+
without an exponent.: C99 allow this and implicitly
21432143
appends "p0"".
21442144
2145-
Changed following PR£18805
2145+
Changed following PR#18805
21462146
*/
21472147
int exph = -1;
21482148

@@ -2178,7 +2178,7 @@ double R_strtod5(const char *str, char **endptr, char dec,
21782178
}
21792179
#define MAX_EXPONENT_PREFIX 9999
21802180
/* exponents beyond ca +1024/-1076 over/underflow
2181-
Limit exponsent from PR#16358.
2181+
Limit exponent from PR#16358.
21822182
*/
21832183
int ndig = 0;
21842184
for (n = 0; *p >= '0' && *p <= '9'; p++, ndig++)

0 commit comments

Comments
 (0)