From: R-devel On Behalf Of Toby Hocking
Sent: Tuesday, 27 May 2025 08:17
To: Marttila Mikko via R-devel
Subject: Re: [Rd] Bug in prettyNum
Thanks for the contribution Mikko!
For testing future patches, you can actually do it right in the web browser,
thanks to Heather Turner's R Dev Cont
Dear list,
I'd like to report a bug in `prettyNum()`. When called with a numeric vector,
the `replace.zero` argument is disregarded.
> prettyNum(0, zero.print = "- ", replace.zero = TRUE)
[1] "-"
Warning message:
In .format.zeros(x, zero.print, replace = replace.zero) :
'zero.print' is truncat