You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning messages:
1: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 22 rows.
ℹ Did you mean to use `annotate()`?
2: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 22 rows.
ℹ Did you mean to use `annotate()`?
3: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 22 rows.
ℹ Did you mean to use `annotate()`?
4: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 22 rows.
ℹ Did you mean to use `annotate()`?
5: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 22 rows.
ℹ Did you mean to use `annotate()`?
书籍用到了很多 R 包,一些 R 包处于活跃开发和变动中,现将问题记录于此,以便跟进。如下都是一些对书籍影响比较大的 R 包,而且这些 R 包本身影响力也比较大,比如 ggplot2、 spatstat、 gt、 echarts4r 等
ggplot2
问题解决后就勾掉
https://github.com/davidsjoberg/ggstream 也是,因此不值得被介绍,后续要移除或类似瀑布图、时间轴图重新从零开始制作。
而在版本 3.4.0 之前,如果使用 linewidth 会报警告问题 Warning: Ignoring unknown parameters: linewidth 详见
由于 ggplot2 3.4.0 的改动导致本书使用的一些下游 R 包报出警告,预计 2022 年10月底之前发布 3.4.0 版本。
size
argument ofelement_rect()
is deprecated as of ggplot2 3.4.0. jbryer/likert#127书中用到以下 R 包的开发版,待新的稳定版本发布后,可以更新 DESCRIPTION 文件
spatstat
DT
gt
简单的表格可以一律用
knitr::kable
来做,复杂的表格可以一律用 gt 包做,主要考虑到 gt 的活跃开发现状, gt 和 Quarto 的紧密结合,以及 gt 的扩展生态(比如 gtExtra / gtreg),以及 gt 和 Quarto 都属于 RStudio 大厂持续维护和高投入。gt gtsummary gtreg gtExtras 等包的文档见 https://github.com/jthomasmock
模型输出考虑 gtsummary 或者 modelsummary
Word 输出中,交叉引用功能失效,需要 Quarto 和相关表格包互相支持,预计 Quarto 1.4 会支持。
cols_width()
目前不支持 LaTeX 输出,对于复杂表格有点麻烦 Column widths not porting to LaTeX rstudio/gt#634tab_spanner()
does not work as intended when output format is docx rstudio/gt#994已报告,详见 rstudio/gt#1140
emo
这确实是与系统有关系的,详见 https://stackoverflow.com/questions/52378661
echarts4r
最近的进展详见论坛讨论 https://d.cosx.org/d/423701 待 echarts4r 更新至 0.4.5 后勾掉
The text was updated successfully, but these errors were encountered: