Closed prairie-rex closed 10 months ago
This would be an issue for RStudio IDE directly. We don't control the color of text they use in the editor AFAIK.
I wonder if this is already reported at
If your issue is different, please to file another one there. Otherwise you can add a 👍 on the existing issue, and possibly add some information if you think it is incomplete.
I'll close this here. thank you again for the report!
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.
On dark themes, every default in RStudio and ones created in tm Themer the text of a knitr::kable(data.frame) table is black and therefore unreadable. I've reviewed my custom themes and there is no black left on any item. I don't know if this can be fixed but it definitely harms accessibility.
Work around is knit the document to review the table which works if you don't have slow code.
xfun::session_info('rmarkdown') R version 4.2.3 (2023-03-15 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 22621), RStudio 2023.6.0.421
Locale: LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8
LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
LC_TIME=English_United States.utf8
Package version: base64enc_0.1.3 bslib_0.5.0
cachem_1.0.8 cli_3.6.0
digest_0.6.31 ellipsis_0.3.2
evaluate_0.21 fastmap_1.1.1
fontawesome_0.5.1 fs_1.6.3
glue_1.6.2 graphics_4.2.3
grDevices_4.2.3 highr_0.10
htmltools_0.5.4 jquerylib_0.1.4
jsonlite_1.8.7 knitr_1.43
lifecycle_1.0.3 magrittr_2.0.3
memoise_2.0.1 methods_4.2.3
mime_0.12 R6_2.5.1
rappdirs_0.3.3 rlang_1.1.0
rmarkdown_2.23 sass_0.4.7
stats_4.2.3 stringi_1.7.12
stringr_1.5.0 tinytex_0.45
tools_4.2.3 utils_4.2.3
vctrs_0.6.3 xfun_0.39
yaml_2.3.7
Pandoc version: 3.1.1
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.