|
1 | 1 | # File src/library/base/R/format.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 |
@@ -73,7 +73,7 @@ format.default <- |
73 | 73 | decimal.mark = decimal.mark, input.d.mark = decimal.mark, |
74 | 74 | zero.print = zero.print, drop0trailing = drop0trailing, |
75 | 75 | is.cmplx = is.complex(x), |
76 | | - preserve.width = if (trim) "individual" else "common"), |
| 76 | + preserve.width = if (trim) "individual" else "common", ...), |
77 | 77 | ## all others (for now): |
78 | 78 | stop(gettextf("Found no format() method for class \"%s\"", |
79 | 79 | class(x)), domain = NA)) |
@@ -338,7 +338,7 @@ prettyNum <- |
338 | 338 | big.mark=big.mark, big.interval=big.interval, |
339 | 339 | small.mark=small.mark, small.interval=small.interval, |
340 | 340 | decimal.mark=decimal.mark, zero.print=zero.print, |
341 | | - drop0trailing=drop0trailing, ...) |
| 341 | + drop0trailing=drop0trailing, replace.zero=replace.zero, ...) |
342 | 342 | } |
343 | 343 | ## be fast in trivial case, when all options have their default, or "match" |
344 | 344 | nMark <- big.mark == "" && small.mark == "" && (notChar || decimal.mark == input.d.mark) |
|
0 commit comments