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 progress bar to getClinicalTrials #85

Merged
merged 3 commits into from
Nov 7, 2023
Merged

Add progress bar to getClinicalTrials #85

merged 3 commits into from
Nov 7, 2023

Conversation

holgstr
Copy link
Contributor

@holgstr holgstr commented Nov 7, 2023

This adds a progress bar, showing the percentage of trials simulated as part of getClinicalTrials().

@holgstr holgstr added the enhancement New feature or request label Nov 7, 2023
@holgstr holgstr self-assigned this Nov 7, 2023
Copy link
Contributor

github-actions bot commented Nov 7, 2023

badge

Code Coverage Summary

Filename                     Stmts    Miss  Cover    Missing
-------------------------  -------  ------  -------  ---------
R/assertions.R                  15       0  100.00%
R/empSignificant.R              59       0  100.00%
R/estimateParams.R              21       1  95.24%   35
R/eventTracking.R               88       2  97.73%   48, 244
R/getClinicalTrials.R           71       0  100.00%
R/getSimulatedData.R           109       0  100.00%
R/getWaitTimeSum.R              29       2  93.10%   45, 48
R/hazardFunctions.R             26       0  100.00%
R/piecewiseDistribution.R       32       0  100.00%
R/piecewiseHazards.R            18       0  100.00%
R/survivalFunctions.R          104       0  100.00%
R/transitionParameters.R        42       0  100.00%
TOTAL                          614       5  99.19%

Diff against main

Filename                     Stmts    Miss  Cover
-------------------------  -------  ------  --------
R/empSignificant.R             +59       0  +100.00%
R/estimateParams.R             +21      +1  +95.24%
R/eventTracking.R               +8       0  +0.23%
R/getClinicalTrials.R          +13       0  +100.00%
R/getSimulatedData.R            +7       0  +100.00%
R/hazardFunctions.R            +26       0  +100.00%
R/piecewiseDistribution.R       -1       0  +100.00%
R/piecewiseHazards.R            +1       0  +100.00%
R/survivalFunctions.R         +104       0  +100.00%
TOTAL                         +238      +1  +0.25%

Results for commit: 2261fd3

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

Copy link
Contributor

github-actions bot commented Nov 7, 2023

Unit Tests Summary

    1 files    15 suites   3m 27s ⏱️
  65 tests   64 ✔️ 1 💤 0
158 runs  157 ✔️ 1 💤 0

Results for commit 2261fd3.

Copy link
Collaborator

@danielinteractive danielinteractive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! thanks @holgstr

@holgstr holgstr merged commit 7bd34ae into main Nov 7, 2023
24 checks passed
@holgstr holgstr deleted the progressbar branch November 7, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants