|
1 | 1 | # File src/library/utils/R/Sweave.R
|
2 | 2 | # Part of the R package, https://www.R-project.org
|
3 | 3 | #
|
4 |
| -# Copyright (C) 1995-2024 The R Core Team |
| 4 | +# Copyright (C) 1995-2025 The R Core Team |
5 | 5 | #
|
6 | 6 | # This program is free software; you can redistribute it and/or modify
|
7 | 7 | # it under the terms of the GNU General Public License as published by
|
@@ -527,7 +527,8 @@ SweaveHooks <- function(options, run = FALSE, envir = .GlobalEnv)
|
527 | 527 | }
|
528 | 528 | if(verbose) { cat("Calling tools::buildVignette() with args\n"); str(args) }
|
529 | 529 | 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) |
531 | 532 | if (toPDF && compact != "no"
|
532 | 533 | && length(output) == 1 && grepl(".pdf$", output, ignore.case=TRUE)) {
|
533 | 534 | ## <NOTE>
|
@@ -569,8 +570,8 @@ SweaveHooks <- function(options, run = FALSE, envir = .GlobalEnv)
|
569 | 570 | "A front-end for Stangle and other vignette engines",
|
570 | 571 | "",
|
571 | 572 | "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", |
574 | 575 | " --engine=pkg::engine use named vignette engine",
|
575 | 576 | " --encoding=enc assume encoding 'enc' for file",
|
576 | 577 | " --options= comma-separated list of Stangle options",
|
|
0 commit comments