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

229 report echo code for plotting and displaying it within the R code in a PDF file. #230

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

kartikeyakirar
Copy link
Contributor

fixes: #229

I added \newpage before the R code to ensure that all R code is placed on a new page in the PDF. Additionally, I set echo = FALSE to prevent the display of the code within picture blocks."

@github-actions
Copy link
Contributor

github-actions bot commented Oct 18, 2023

badge

Code Coverage Summary

Filename              Stmts    Miss  Cover    Missing
------------------  -------  ------  -------  -----------------------------------------------------------------------------------
R/AddCardModule.R       144       2  98.61%   162, 199
R/Archiver.R             25       0  100.00%
R/ContentBlock.R         18       2  88.89%   38-44
R/DownloadModule.R      207      49  76.33%   95-101, 143, 168-173, 182-186, 189-193, 201-205, 208-212, 219-223, 226-230, 267-271
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%   188, 202, 204-207, 210, 213-221, 330-374
R/RcodeBlock.R           15       0  100.00%
R/Renderer.R            113      37  67.26%   45-60, 121, 129, 138, 140-161
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       30       0  100.00%
R/TableBlock.R            9       0  100.00%
R/TextBlock.R            13       0  100.00%
R/utils.R               171      80  53.22%   7, 38-97, 99, 102-109, 163, 175-177, 287-296
R/yaml_utils.R           81       2  97.53%   41, 239
R/zzz.R                  14      10  28.57%   2-13, 19
TOTAL                  1406     245  82.57%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: a80a93a

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@github-actions
Copy link
Contributor

github-actions bot commented Oct 18, 2023

Unit Tests Summary

    1 files    18 suites   14s ⏱️
204 tests 204 ✔️ 0 💤 0
346 runs  346 ✔️ 0 💤 0

Results for commit a80a93a.

♻️ This comment has been updated with latest results.

@kartikeyakirar kartikeyakirar requested a review from a team October 19, 2023 06:48
@chlebowa chlebowa assigned chlebowa and unassigned chlebowa Oct 19, 2023
@averissimo averissimo self-assigned this Oct 20, 2023
Copy link
Contributor

@averissimo averissimo left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

Using \newpage in rmarkdown doesn't affect other outputs

image

@kartikeyakirar kartikeyakirar enabled auto-merge (squash) October 20, 2023 14:19
@kartikeyakirar kartikeyakirar merged commit 19c7303 into main Oct 20, 2023
@kartikeyakirar kartikeyakirar deleted the 229_fixing_rcode_echo_issue@main branch October 20, 2023 14:23
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.

[Bug]: report echo code for plotting and displaying it within the R code in a PDF file.
3 participants