Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0 displayed as NA #58

Closed
hadley opened this issue Oct 16, 2017 · 4 comments
Closed

0 displayed as NA #58

hadley opened this issue Oct 16, 2017 · 4 comments
Labels

Comments

@hadley
Copy link
Member

hadley commented Oct 16, 2017

print(tibble::tibble(x = c(0, 1e-30)), width = 20)
#> # A tibble: 2 x 1
#>                   x
#>               <dbl>
#> 1      NANANANA    
#> 2          1.00e⁻³⁰
@krlmlr
Copy link
Member

krlmlr commented Oct 25, 2017

Thanks, confirmed. Slightly more minimal reprex:

pillar::pillar(c(0, 1e-30), width = 20)
#>                <dbl>
#>         NANANANA    
#>             1.00e⁻³⁰

@krlmlr krlmlr added the bug label Oct 25, 2017
@krlmlr krlmlr closed this as completed in be24a37 Oct 25, 2017
@krlmlr
Copy link
Member

krlmlr commented Oct 25, 2017

Zero values are shown in subtle style in both decimal and scientific views. I vaguely remember this was by design, just to confirm again:

screenshot from 2017-10-25 21-19-26

@hadley
Copy link
Member Author

hadley commented Oct 25, 2017

Yup, LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2020

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants