insightsengineering / insightsengineering/teal.modules.clinical

Tibble is printed in some modules

Open
#643 2 comments 0 reactions 0 assignees View on GitHub
core
Dominant language
R
Stars
42
Forks
22
Avg merge
22m
Merged PRs (30d)
1

Description

Run:
```
example(tm_t_pp_laboratory, package = 'teal.modules.clinical')
# or: example(tm_t_pp_prior_medication, package = 'teal.modules.clinical')
shinyApp(app$ui, app$server)
```
and add a first, default view to a reporter. The table printed in output is a tibble, which adds some unnecessary features and more technical formatting. Maybe add:
```
labor_table_html_dt %>% as.data.frame()
```
(or use rtables)

![image](https://user-images.githubusercontent.com/110387997/194275807-a9c8dcd3-63f3-441a-a66e-c14f1d304104.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the tm_t_pp_laboratory or tm_t_pp_prior_medication examples and the shown shinyApp commands. Trace the first default reporter view and inspect labor_table_html_dt; done means the displayed table no longer has tibble-specific formatting or extra technical features.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.