Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sessionInfo #767

Merged
merged 4 commits into from
Oct 28, 2022
Merged

Add sessionInfo #767

merged 4 commits into from
Oct 28, 2022

Conversation

nikolas-burkoff
Copy link
Contributor

This fixes the first part of #752

Requires insightsengineering/teal.widgets#100

Test with:

library(teal)

app <- init(
  data = teal_data(
    dataset("MTCARS", mtcars)
  ),
  modules = modules(example_module())
)

shinyApp(app$ui, app$server)

image
image

Nikolas Burkoff and others added 2 commits October 27, 2022 12:07
@github-actions
Copy link
Contributor

Unit Tests Summary

    1 files    11 suites   10s ⏱️
108 tests 108 ✔️ 0 💤 0
211 runs  211 ✔️ 0 💤 0

Results for commit d71a068.

@github-actions
Copy link
Contributor

badge

Code Coverage Summary

Filename                         Stmts    Miss  Cover    Missing
-----------------------------  -------  ------  -------  -------------------------------------------
R/default_filter.R                   7       7  0.00%    17-27
R/dummy_functions.R                 74      61  17.57%   12-95
R/example_module.R                  17      17  0.00%    19-35
R/get_rcode_utils.R                 52       2  96.15%   94, 99
R/get_rcode.R                      131      51  61.07%   66, 73, 78, 139-148, 186, 212-261
R/include_css_js.R                  24       0  100.00%
R/init.R                            39      21  46.15%   174, 185-186, 239-260
R/log_app_usage.R                   38      38  0.00%    34-119
R/logging.R                         13      13  0.00%    11-28
R/module_nested_tabs.R             113      16  85.84%   57, 96, 100-117, 163, 212, 257
R/module_tabs_with_filters.R        68       1  98.53%   160
R/module_teal_with_splash.R         33       2  93.94%   62, 74
R/module_teal.R                    131      20  84.73%   49, 52, 155-156, 169-175, 181-187, 210, 240
R/modules_debugging.R               19      19  0.00%    41-60
R/modules.R                        115       9  92.17%   218, 423-448
R/reporter_previewer_module.R       12       2  83.33%   18, 22
R/show_rcode_modal.R                20      20  0.00%    17-38
R/utils.R                           13       0  100.00%
R/validations.R                     62      39  37.10%   103-355
R/zzz.R                             11       7  36.36%   3-14
TOTAL                              992     345  65.22%

Results for commit: 5ef62ad

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@nikolas-burkoff
Copy link
Contributor Author

Be aware of #737 for the future

@nikolas-burkoff nikolas-burkoff merged commit b3bae4e into main Oct 28, 2022
@nikolas-burkoff nikolas-burkoff deleted the session_info@main branch October 28, 2022 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants