Skip to content

Commit 4580ec3

Browse files
author
hornik
committed
Revert c87269.
git-svn-id: https://svn.r-project.org/R/trunk@87290 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent c66ee94 commit 4580ec3

File tree

1 file changed

+9
-9
lines changed
  • src/library/tools/R

1 file changed

+9
-9
lines changed

src/library/tools/R/QC.R

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4980,18 +4980,18 @@ function(x, ...)
49804980
"Note: found %d marked UTF-8 string",
49814981
"Note: found %d marked UTF-8 strings"), n)
49824982
},
4983-
if(n <- x$bytes) { ## elevated to a Warning in 4.5.0
4984-
sprintf(
4985-
ngettext(n,
4986-
"Warning: found %d string marked as \"bytes\"",
4987-
"Warning: found %d strings marked as \"bytes\""), n)
4988-
},
4989-
## if((n <- x$bytes) && !suppress_notes) {
4983+
## if(n <- x$bytes) { ## elevated to a Warning in 4.5.0
49904984
## sprintf(
49914985
## ngettext(n,
4992-
## "Note: found %d string marked as \"bytes\"",
4993-
## "Note: found %d strings marked as \"bytes\""), n)
4986+
## "Warning: found %d string marked as \"bytes\"",
4987+
## "Warning: found %d strings marked as \"bytes\""), n)
49944988
## },
4989+
if((n <- x$bytes) && !suppress_notes) {
4990+
sprintf(
4991+
ngettext(n,
4992+
"Note: found %d string marked as \"bytes\"",
4993+
"Note: found %d strings marked as \"bytes\""), n)
4994+
},
49954995
if(nr <- nrow(x$unknown)) {
49964996
msg <- ngettext(nr,
49974997
"Warning: found non-ASCII string",

0 commit comments

Comments
 (0)