Commit
Display ------- - Turned off using subtle style for digits that are considered insignificant. Negative numbers are shown all red. Set the new option `pillar.subtle_num` to `TRUE` to turn it on again (default: `FALSE`). - The negation sign is printed next to the number again (#91). - Scientific notation uses regular digits again for exponents (#90). - Groups of three digits are now underlined, starting with the fourth before/after the decimal point. This gives a better idea of the order of magnitude of the numbers (#78). - Logical columns are displayed as `TRUE` and `FALSE` again (#95). - The decimal dot is now always printed for numbers of type `numeric`. Trailing zeros are not shown anymore if all displayed numbers are whole numbers (#62). - Decimal values longer than 13 characters always print in scientific notation. Bug fixes --------- - Numeric values with a `"class"` attribute (e.g., `Duration` from lubridate) are now formatted using `format()` if the `pillar_shaft()` method is not implemented for that class (#88). - Very small numbers (like `1e-310`) are now printed corectly (tidyverse/tibble#377). - Fix representation of right-hand side for `getOption("pillar.sigfig") >= 6` (tidyverse/tibble#380). - Fix computation of significant figures for numbers with absolute value >= 1 (#98). New functions ------------- - New styling helper `style_subtle_num()`, formatting depends on the `pillar.subtle_num` option.
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<S4: Duration> | ||
1s | ||
2s | ||
3s |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
x | ||
[3m[90m<dbl>[39m[23m | ||
[90m1[39m -0.00[31m1[4m0[24m[4m0[24m[39m | ||
[90m1[39m -[31m0[39m[31m.[39m[31m00[39m[31m1[4m0[24m[4m0[24m[39m | ||
[90m2[39m 0.010[4m0[24m | ||
[90m3[39m -0.[31m100[39m | ||
[90m3[39m -[31m0[39m[31m.[39m[31m100[39m | ||
[90m4[39m 1.00 | ||
[90m5[39m -[31m10[39m[31m.[39m[31m0[39m | ||
[90m6[39m 100. | ||
[90m7[39m -[31m[4m1[24m00[39m0[31m.[39m | ||
[90m7[39m -[31m[4m1[24m00[39m[31m0[39m[31m.[39m | ||
[90m8[39m [4m1[24m[4m0[24m000. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[1mx[22m | ||
[3m[90m<dbl>[39m[23m | ||
[90m1[39m -0.00[31m1[4m0[24m[4m0[24m[39m | ||
[90m1[39m -[31m0[39m[31m.[39m[31m00[39m[31m1[4m0[24m[4m0[24m[39m | ||
[90m2[39m 0.010[4m0[24m | ||
[90m3[39m -0.[31m100[39m | ||
[90m3[39m -[31m0[39m[31m.[39m[31m100[39m | ||
[90m4[39m 1.00 | ||
[90m5[39m -[31m10[39m[31m.[39m[31m0[39m | ||
[90m6[39m 100. | ||
[90m7[39m -[31m[4m1[24m00[39m0[31m.[39m | ||
[90m7[39m -[31m[4m1[24m00[39m[31m0[39m[31m.[39m | ||
[90m8[39m [4m1[24m[4m0[24m000. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[1mx[22m | ||
[3m<dbl>[23m | ||
1 -0.00[31m1[4m0[24m[4m0[24m[39m | ||
1 -[31m0[39m[31m.[39m[31m00[39m[31m1[4m0[24m[4m0[24m[39m | ||
2 0.010[4m0[24m | ||
3 -0.[31m100[39m | ||
3 -[31m0[39m[31m.[39m[31m100[39m | ||
4 1.00 | ||
5 -[31m10[39m[31m.[39m[31m0[39m | ||
6 100. | ||
7 -[31m[4m1[24m00[39m0[31m.[39m | ||
7 -[31m[4m1[24m00[39m[31m0[39m[31m.[39m | ||
8 [4m1[24m[4m0[24m000. |