insightsengineering / teal.reporter

Create and preview reports with Shiny modules
https://insightsengineering.github.io/teal.reporter/
Other
8 stars 9 forks source link

212 fixing r-code formating #216

Closed kartikeyakirar closed 1 year ago

kartikeyakirar commented 1 year ago

Pull Request

fixes https://github.com/insightsengineering/teal.reporter/issues/212

Sample output generated from code. report_230919205651.zip input_20230919205655718.pptx

github-actions[bot] commented 1 year ago

badge

Code Coverage Summary

Filename              Stmts    Miss  Cover    Missing
------------------  -------  ------  -------  ----------------------------------------------------------------------------------
R/AddCardModule.R       140       1  99.29%   195
R/Archiver.R             25       0  100.00%
R/ContentBlock.R         18       2  88.89%   38-44
R/DownloadModule.R      207      49  76.33%   89-95, 138, 163-168, 177-181, 184-188, 196-200, 203-207, 214-218, 221-225, 262-266
R/FileBlock.R            13       0  100.00%
R/NewpageBlock.R          2       0  100.00%
R/PictureBlock.R         30       2  93.33%   15, 79
R/Previewer.R           295      56  81.02%   183, 197, 199-202, 205, 208-216, 325-369
R/RcodeBlock.R           15       0  100.00%
R/Renderer.R            115      22  80.87%   61, 122, 130, 139, 141-162
R/ReportCard.R           77       4  94.81%   180, 219, 224, 245
R/Reporter.R             94       1  98.94%   254
R/ResetModule.R          55       0  100.00%
R/SimpleReporter.R       29       0  100.00%
R/TableBlock.R            9       0  100.00%
R/TextBlock.R            13       0  100.00%
R/utils.R               161      70  56.52%   7, 38-97, 99, 102-109, 163, 175-177
R/yaml_utils.R           81       2  97.53%   41, 239
TOTAL                  1379     209  84.84%

Diff against main

Filename          Stmts    Miss  Cover
--------------  -------  ------  -------
R/Renderer.R        +25      +3  +1.98%
R/utils.R            +9       0  +2.57%
R/yaml_utils.R       +7       0  +0.23%
TOTAL               +41      +3  +0.24%

Results for commit: ceb88ec0688d5c67835c534c30156d480c9d782c

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 1 year ago

Unit Tests Summary

    1 files    18 suites   15s :stopwatch: 204 tests 204 :heavy_check_mark: 0 :zzz: 0 :x: 346 runs  346 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 525c4a1d.

:recycle: This comment has been updated with latest results.