英文:
echarts4r won't render in Quarto
问题
我在尝试渲染一个对象的 echarts 图表时遇到了问题。
我已经查看了文档和许多教程,但出于某种原因,我无法在 HTML Quarto 文件中渲染 echarts4r 图表 - 我是否漏掉了什么?
在渲染 quarto 时,我收到了下面的错误消息 - 对我来说不太清楚是为什么
Quitting from lines 14-23 [unnamed-chunk-1] (test_echarts4r.qmd)
Error in add_html_caption():
! unused argument (xfun::grep_sub("^[^<]<[^>]+aria-labelledby[ ]=[ ]\"([^\"]+)\".$", "\", x))
---
title: "echarts4r"
format: html
---
```{r}
library(echarts4r)
library(tidyverse)
diamonds %>%
count(color) %>%
echarts4r::e_charts(x = color) %>%
echarts4r::e_bar(serie = n)
```
我已在仓库中创建了一个问题:
https://github.com/JohnCoene/echarts4r/issues/554
英文:
I am having trouble rendering an echart for object.
I've checked the documentation and numerous tutorials but for some reason I can't render an echart4r chart in html quarto file -- Am I missing something?
I receive the below error when rendering in quarto -- Its not clear to me why
Quitting from lines 14-23 [unnamed-chunk-1] (test_echarts4r.qmd)
Error in add_html_caption():
! unused argument (xfun::grep_sub("^[^<]<[^>]+aria-labelledby[ ]=[ ]"([^\"]+)".$", "", x))
---
title: "echarts4r"
format: html
---
```{r}
library(echarts4r)
library(tidyverse)
diamonds %>%
count(color) %>%
echarts4r::e_charts(x = color) %>%
echarts4r::e_bar(serie = n)
```
I've created a issue in the repo:
答案1
得分: 0
问题已通过将Quarto更新到最新版本来解决。
英文:
Problem solved by updating Quarto to latest current release version
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论