Skip to content

Commit 73b4948

Browse files
author
smeyer
committed
tweak message for --clean=keepOuts
git-svn-id: https://svn.r-project.org/R/trunk@88396 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 488ac49 commit 73b4948

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/library/utils/R/Sweave.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File src/library/utils/R/Sweave.R
22
# Part of the R package, https://www.R-project.org
33
#
4-
# Copyright (C) 1995-2024 The R Core Team
4+
# Copyright (C) 1995-2025 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
@@ -527,7 +527,8 @@ SweaveHooks <- function(options, run = FALSE, envir = .GlobalEnv)
527527
}
528528
if(verbose) { cat("Calling tools::buildVignette() with args\n"); str(args) }
529529
output <- do.call(tools::buildVignette, args)
530-
message("Output file: ", output)
530+
message(ngettext(length(output), "Output file: ", "Output files: "),
531+
paste(output, collapse = ", "), domain = NA)
531532
if (toPDF && compact != "no"
532533
&& length(output) == 1 && grepl(".pdf$", output, ignore.case=TRUE)) {
533534
## <NOTE>
@@ -569,8 +570,8 @@ SweaveHooks <- function(options, run = FALSE, envir = .GlobalEnv)
569570
"A front-end for Stangle and other vignette engines",
570571
"",
571572
"Options:",
572-
" -h, --help print this help message and exit",
573-
" -v, --version print version info and exit",
573+
" -h, --help print this help message and exit",
574+
" -v, --version print version info and exit",
574575
" --engine=pkg::engine use named vignette engine",
575576
" --encoding=enc assume encoding 'enc' for file",
576577
" --options= comma-separated list of Stangle options",

0 commit comments

Comments
 (0)