quarto-dev / quarto-dev/quarto-cli
Confluence does not show `gt()` tables correctly
Open
@cderv is already working on this.
Since Nov 30, 2023.
bug
publishing-confluence
tables
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
I am not sure, if this is Quarto issue, or gt() library's issue or Confluence, so I apologize if I address the issue using the wrong channel.
I have written a report using .qmd and published it on confluence. In my report i did use gt() and gtsummary() libraries to create tables. In quarto preview the tables are rendered and displayed correctly, however once published, the tables are are displayed as broken.
Steps to reproduce
---
title: "test"
format: html-confluence
---
## This is a test
```{r}
suppressMessages(library(tidyverse))
library(gt)
```
```{r}
mtcars|>
group_by(cyl)|>
summarise(avg_mpg=mean(mpg))|>
gt()|>
tab_header(title = "The title of the table")
```
Expected behavior
Actual behavior
Your environment
- Quarto: 1.3.450
- R version 4.3.1
- Linux:
- NAME="Linux Mint"
- VERSION="21.2 (Victoria)"
- ID=linuxmint
- ID_LIKE="ubuntu debian"
- PRETTY_NAME="Linux Mint 21.2"
- VERSION_ID="21.2"
- HOME_URL="https://www.linuxmint.com/"
- SUPPORT_URL="https://forums.linuxmint.com/"
- BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
- PRIVACY_POLICY_URL="https://www.linuxmint.com/"
- VERSION_CODENAME=victoria
- UBUNTU_CODENAME=jammy
Quarto check output
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.450
Path: /opt/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.6 (Conda)
Path: /home/pc/miniconda3/envs/home/bin/python
Jupyter: 5.4.0
Kernels: python3, ir
(-) Checking Jupyter engine render....0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.3.1
Path: /usr/lib/R
LibPaths:
- /home/pc/R/x86_64-pc-linux-gnu-library/4.3
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.44
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
### Tasks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.