tabsets within tabset
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- r
- Domínio
- documentation
Direção de pesquisa
Start with _child1.qmd and render the example containing the nested {.panel-tabset}; compare it with the version where the wrapper is removed. Investigate the reported interaction with gt and tab_header(). Done means each homeworld shows separate Table and Plot tabs and the gt output is not corrupted.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Thanks for the great examples.
Is is possible to extend the example by showing how to make tabset within a tabset?
E.g. for every homeworld I want a separate tab for a table and a plot.
I modifed the _child1.qmd to code below, but now all tabs are empty
When i remove the ::: {panel-tabset}, the headings and tables are shown (but not in tabs)
I also noticed that as tab_header() is added to gt, the output get corrupted
## `r hw`
::: {.panel-tabset}
### Table
```{r}
#| echo: false
starwars %>%
filter(homeworld == hw) %>%
count(sex) %>%
head() %>%
gt()
```
### Plot
```{r}
#| echo: false
#| warning: false
starwars %>%
filter(homeworld == hw) |>
ggplot2::ggplot(aes(x = height, y = mass)) +
geom_point()
```
:::
- Linguagem predominante
- R
- Estrelas
- 42
- Forks
- 9
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
r-lib/tree-sitter-r#209 ·
-
Suggest rmoriebricklayerAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 67/100
-
Suggest rmoriebricklayerAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 79/100
cran-task-views/CausalInference#52 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
paul-buerkner/brms#1971 ·
Mantenedores costumam responder em até 4 dias
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
pharmaverse/admiralci#250 ·