Skip to content

Confluence does not show gt() tables correctly #7349

Open
@justasmundeikis

Description

@justasmundeikis

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

image

Actual behavior

image

Your environment

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpublishing-confluenceConfluence publishing of documents and projectstablesIssues with Tables including the gt integration

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions