Skip to content

Commit 5574f7a

Browse files
author
smeyer
committed
spelling/markup
git-svn-id: https://svn.r-project.org/R/trunk@87286 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 66109d7 commit 5574f7a

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

doc/NEWS.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
variable \env{_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_} to a
280280
false value for the previous behaviour.
281281
282-
Strings markaed as \code{"bytes"} now give a warning rather than a
282+
Strings marked as \code{"bytes"} now give a warning rather than a
283283
NOTE. These are better supplied as raw vectors.
284284
285285
\item \code{tools::checkDocFiles()} notes more cases of

src/library/base/man/complex.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ NAs <- vapply(list(NA, NA_integer_, NA_real_, NA_character_, NA_complex_),
156156
stopifnot(is.na(NAs), is.na(Re(NAs))) # has always been true
157157
showC <- function(z) noquote(paste0("(", Re(z), ",", Im(z), ")"))
158158
showC(NAs)
159-
Im(NAs) # [0 0 0 NA NA] \\ in R <= 4.3.x was [NA NA 0 NA NA]
159+
Im(NAs) # [0 0 0 NA NA] \\\\ in R <= 4.3.x was [NA NA 0 NA NA]
160160
stopifnot(Im(NAs)[1:3] == 0)
161161
162162

src/library/base/man/taskCallback.Rd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ will be called on the completion of the next top-level task.
8282
to allow C routines rather than R functions be used.
8383
}
8484
\seealso{
85-
\code{\link{getTaskCallbackNames}}
85+
\code{\link{getTaskCallbackNames}},
8686
\code{\link{taskCallbackManager}}
87+
8788
\url{https://developer.r-project.org/TaskHandlers.pdf}
8889
}
8990
\examples{

src/library/base/man/taskCallbackNames.Rd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ getTaskCallbackNames()
3333
\seealso{
3434
\code{\link{addTaskCallback}},
3535
\code{\link{removeTaskCallback}},
36-
\code{\link{taskCallbackManager}}\\
36+
\code{\link{taskCallbackManager}}
37+
3738
\url{https://developer.r-project.org/TaskHandlers.pdf}
3839
}
3940
\examples{

src/library/grDevices/man/windows.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ win.print(width = 7, height = 7, pointsize = 12, printer = "",
203203

204204
\section{Fonts}{
205205
The fonts used for text drawn in a Windows device may be controlled in
206-
two ways. The file \code{R_HOME\\etc\\\link{Rdevga}} can be used to
206+
two ways. The file \file{\var{\link{R_HOME}}\\etc\\\link{Rdevga}} can be used to
207207
specify mappings for \code{par(font =)} (or the \pkg{grid} equivalent).
208208
Alternatively, a font family can be specified by a non-empty
209209
\code{family} argument (or by e.g.\sspace{}\code{par(family =)} in the graphics

src/library/utils/man/read.fwf.Rd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ read.fwf(file, widths, header = FALSE, sep = "\t",
8282
\examples{
8383
ff <- tempfile()
8484
cat(file = ff, "123456", "987654", sep = "\n")
85-
read.fwf(ff, widths = c(1,2,3)) #> 1 23 456 \\ 9 87 654
86-
read.fwf(ff, widths = c(1,-2,3)) #> 1 456 \\ 9 654
85+
read.fwf(ff, widths = c(1,2,3)) #> 1 23 456 \\\\ 9 87 654
86+
read.fwf(ff, widths = c(1,-2,3)) #> 1 456 \\\\ 9 654
8787
unlink(ff)
8888
cat(file = ff, "123", "987654", sep = "\n")
89-
read.fwf(ff, widths = c(1,0, 2,3)) #> 1 NA 23 NA \\ 9 NA 87 654
89+
read.fwf(ff, widths = c(1,0, 2,3)) #> 1 NA 23 NA \\\\ 9 NA 87 654
9090
unlink(ff)
9191
cat(file = ff, "123456", "987654", sep = "\n")
9292
read.fwf(ff, widths = list(c(1,0, 2,3), c(2,2,2))) #> 1 NA 23 456 98 76 54

0 commit comments

Comments
 (0)