[Bug]: Missing variable label for factor variables only
Opened this issue · 0 comments
lcd2yyz commented
What happened?
This issue appeared in teal.slice v0.5.1.9005
, and still persist in the latest version v0.5.1.9008
.
Using Safety-Dev app as example, https://genentech.shinyapps.io/nest_safety_dev/
Variable label is present for numerical, date and character variables, but missing for factor variables only (SAFFL and SEX).
sessionInfo()
R version 4.3.2 (2023-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.4 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3
LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3; LAPACK version 3.10.0
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: Etc/UTC
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] sparkline_2.0 nestcolor_0.1.2.9011
[3] dplyr_1.1.4 random.cdisc.data_0.3.15
[5] teal.modules.clinical_0.9.1.9018 tern_0.9.5.9012
[7] rtables_0.6.9.9005 magrittr_2.0.3
[9] formatters_0.5.8.9003 teal.modules.general_0.3.0.9039
[11] teal.transform_0.5.0.9009 teal_0.15.2.9050
[13] teal.slice_0.5.1.9008 teal.data_0.6.0.9006
[15] teal.code_0.5.0.9007 ggmosaic_0.3.3
[17] ggplot2_3.5.1 shiny_1.9.1
loaded via a namespace (and not attached):
[1] tidyselect_1.2.1 viridisLite_0.4.2 fastmap_1.2.0
[4] lazyeval_0.2.2 shinyjs_2.1.0 promises_1.3.0
[7] digest_0.6.36 estimability_1.5.1 timechange_0.3.0
[10] mime_0.12 tern.gee_0.1.4.9003 lifecycle_1.0.4
[13] survival_3.7-0 compiler_4.3.2 sass_0.4.9
[16] rlang_1.1.4 tools_4.3.2 utf8_1.2.4
[19] yaml_2.3.10 data.table_1.15.4 knitr_1.48
[22] htmlwidgets_1.6.4 withr_3.0.1 purrr_1.0.2
[25] shinyWidgets_0.8.6 geepack_1.3.11 grid_4.3.2
[28] fansi_1.0.6 teal.logger_0.2.0.9006 xtable_1.8-4
[31] colorspace_2.1-1 future_1.34.0 emmeans_1.10.3
[34] globals_0.16.3 scales_1.3.0 MASS_7.3-60.0.1
[37] cli_3.6.3 mvtnorm_1.2-5 rmarkdown_2.27
[40] generics_0.1.3 httr_1.4.7 cachem_1.1.0
[43] stringr_1.5.1 splines_4.3.2 parallel_4.3.2
[46] vctrs_0.6.5 Matrix_1.6-5 jsonlite_1.8.8
[49] ggrepel_0.9.5 listenv_0.9.1 crosstalk_1.2.1
[52] teal.widgets_0.4.2.9017 fontawesome_0.5.2 plotly_4.10.4
[55] jquerylib_0.1.4 tidyr_1.3.1 glue_1.7.0
[58] parallelly_1.38.0 codetools_0.2-20 DT_0.33
[61] lubridate_1.9.3 stringi_1.8.4 gtable_0.3.5
[64] later_1.3.2 shinycssloaders_1.1.0 munsell_0.5.1
[67] tibble_3.2.1 logger_0.3.0 pillar_1.9.0
[70] htmltools_0.5.8.1 R6_2.5.1 Rdpack_2.6.1
[73] evaluate_0.24.0 lattice_0.22-6 rbibutils_2.2.16
[76] backports_1.5.0 memoise_2.0.1 broom_1.0.6
[79] bslib_0.8.0 teal.reporter_0.3.1.9010 httpuv_1.6.15
[82] Rcpp_1.0.13 shinyvalidate_0.1.3 nlme_3.1-165
[85] checkmate_2.3.2 xfun_0.46 forcats_1.0.0
[88] pkgconfig_2.0.3
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct.
Contribution Guidelines
- I agree to follow this project's Contribution Guidelines.
Security Policy
- I agree to follow this project's Security Policy.