Skip to content

Commit

Permalink
Revert c87269.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87290 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Nov 6, 2024
1 parent c66ee94 commit 4580ec3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/library/tools/R/QC.R
Original file line number Diff line number Diff line change
Expand Up @@ -4980,18 +4980,18 @@ function(x, ...)
"Note: found %d marked UTF-8 string",
"Note: found %d marked UTF-8 strings"), n)
},
if(n <- x$bytes) { ## elevated to a Warning in 4.5.0
sprintf(
ngettext(n,
"Warning: found %d string marked as \"bytes\"",
"Warning: found %d strings marked as \"bytes\""), n)
},
## if((n <- x$bytes) && !suppress_notes) {
## if(n <- x$bytes) { ## elevated to a Warning in 4.5.0
## sprintf(
## ngettext(n,
## "Note: found %d string marked as \"bytes\"",
## "Note: found %d strings marked as \"bytes\""), n)
## "Warning: found %d string marked as \"bytes\"",
## "Warning: found %d strings marked as \"bytes\""), n)
## },
if((n <- x$bytes) && !suppress_notes) {
sprintf(
ngettext(n,
"Note: found %d string marked as \"bytes\"",
"Note: found %d strings marked as \"bytes\""), n)
},
if(nr <- nrow(x$unknown)) {
msg <- ngettext(nr,
"Warning: found non-ASCII string",
Expand Down

0 comments on commit 4580ec3

Please sign in to comment.