Repository navigation
Closed
Description
Prework
- Read and agree to the code of conduct and contributing guidelines.
- If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
Description
An html-column renders fine (provided fmt_markdown() is applied) but the content disappears as soon as opt_interactive() is used.
Reproducible example
This works fine:
tbl <- towny |>
dplyr::select(name, land_area_km2) |>
dplyr::slice(1:10) |>
dplyr::mutate(bla = '<div> This is a div </div>') |>
gt() |>
fmt_markdown(columns = bla) |>
tab_options(
table.width = '500px',
container.width = '500px'
)
tbl
This does not:
tbl |> opt_interactive()
Expected result
Same as first input
Session info
Details
R version 4.2.3 (2023-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.6 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=de_DE.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] gt_0.9.0.9000
loaded via a namespace (and not attached):
[1] pillar_1.9.0 compiler_4.2.3 R.utils_2.11.0 R.methodsS3_1.8.2 tools_4.2.3 digest_0.6.31 evaluate_0.20
[8] jsonlite_1.8.4 lifecycle_1.0.3 tibble_3.2.1 R.cache_0.15.0 pkgconfig_2.0.3 rlang_1.1.0 reprex_2.0.2
[15] cli_3.6.1 rstudioapi_0.14 crosstalk_1.2.0 commonmark_1.9.0 yaml_2.3.7 xfun_0.38 fastmap_1.1.1
[22] knitr_1.42 reactR_0.4.4 withr_2.5.0 dplyr_1.1.1.9000 styler_1.9.0 xml2_1.3.3 generics_0.1.3
[29] vctrs_0.6.1.9000 htmlwidgets_1.6.2 sass_0.4.5.9000 fs_1.6.1 tidyselect_1.2.0 reactable_0.4.4 glue_1.6.2
[36] R6_2.5.1 processx_3.8.0 fansi_1.0.4 rmarkdown_2.21 callr_3.7.3 clipr_0.8.0 purrr_1.0.1.9000
[43] magrittr_2.0.3 ps_1.7.3 htmltools_0.5.5 ellipsis_0.3.2 utf8_1.2.3 markdown_1.5 R.oo_1.25.0
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone


Activity