Dear R-core devs,
I hope this email finds you well.
Please see the proposed patch to R-devel below:
Scenario:
When loading a package using `library`, a package may not be found if the cases
are not matching:
```
> library(ORG.Hs.eg.db)
Error in library(ORG.Hs.eg.db) :
there is no package c
> Sarah Goslee
> on Thu, 20 Jun 2019 09:56:44 -0400 writes:
> I can reproduce this.
> It has to do with whether the value rounds down to 9 or up to 10, and
> thus needs another space, I think. I agree that it shouldn't happen,
> but at least you can get rid of the spac
I can reproduce this.
It has to do with whether the value rounds down to 9 or up to 10, and
thus needs another space, I think. I agree that it shouldn't happen,
but at least you can get rid of the space by using trim = TRUE.
# rounds to 9 vs 10
format(9.95, digits = 2)
format(9.96, digits = 2)
Dear R Core Team,
First of all, thank you for your amazing work on developing and
maintaining this wonderful language.
I just stumbled upon the following behavior in R version 3.6.0:
format(9.91, digits = 2, nsmall = 2)
format(9.99, digits = 2, nsmall = 2)
yield "9.91" and " 9.99" with an ex