-
-
Notifications
You must be signed in to change notification settings - Fork 877
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
Inline code prints negative number without sign #2288
Comments
I think the issue comes from this function we use for printing knitr:::format_sci((-1)*10^7)
#> [1] "10^{7}" We use this function in inline hooks Lines 204 to 207 in 42f6b3a
It seems there is several issues here:
|
Should be fixed now. Thanks for the report!
Note that you need |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
...leads to...
xfun::session_info('knitr')
By filing an issue to this repo, I promise that
xfun::session_info('knitr')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/knitr')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: