diff --git a/inst/report-templates/rmarkdown-1/report-1.Rmd b/inst/report-templates/rmarkdown-1/report-1.Rmd index 376418c..653328e 100644 --- a/inst/report-templates/rmarkdown-1/report-1.Rmd +++ b/inst/report-templates/rmarkdown-1/report-1.Rmd @@ -81,20 +81,7 @@ Instructions * the report code. 1. If you create a new rule or smell check, make sure the error message won't reveal any PHI. -Inactive Checks ------------------------------ - -`r nrow(checks$rules_inactive)` rules(s) are disabled for this report: - -```{r rules-inactive, echo = echo_chunks, results = 'asis'} -cat(sprintf("1. %s;", checks$rules_inactive$check_name), sep = "\n") -``` -`r nrow(checks$smells_inactive)` smell(s) are disabled for this report: - -```{r smells-inactive, echo = echo_chunks, results = 'asis'} -cat(sprintf("1. %s;", checks$smells_inactive$check_name), sep = "\n") -``` Rules {.tabset .tabset-fade} ============================= @@ -209,6 +196,19 @@ checks$rules |> }() ``` +Inactive Rules +----------------------------- + +
+`r nrow(checks$rules_inactive)` rules(s) are disabled for this report: + +```{r rules-inactive, echo = echo_chunks, results = 'asis'} +cat(sprintf("1. %s;", checks$rules_inactive$check_name), sep = "\n") +``` + +To enable/disable a rule, set the `active` element in the yaml checks file to "true" or "false". +
+ Smells {.tabset .tabset-fade} ============================= @@ -271,5 +271,18 @@ ds_smell_result_pretty |> bold = TRUE, background = palette_summary$warm ) +``` +Inactive Smells +----------------------------- + +
+ +`r nrow(checks$smells_inactive)` smell(s) are disabled for this report: + +```{r smells-inactive, echo = echo_chunks, results = 'asis'} +cat(sprintf("1. %s;", checks$smells_inactive$check_name), sep = "\n") ``` + +To enable/disable a smell, set the `active` element in the yaml checks file to "true" or "false". +
diff --git a/inst/report-templates/rmarkdown-1/report-1.html b/inst/report-templates/rmarkdown-1/report-1.html index b8c281e..5b14bf4 100644 --- a/inst/report-templates/rmarkdown-1/report-1.html +++ b/inst/report-templates/rmarkdown-1/report-1.html @@ -254,7 +254,7 @@

Trawler Report

-

Date: 2021-12-31 14:53:01

+

Date: 2021-12-31 15:54:07

@@ -289,14 +289,6 @@

1.1 Instructions

If you create a new rule or smell check, make sure the error message won’t reveal any PHI. -
-

1.2 Inactive Checks

-

1 rules(s) are disabled for this report:

-
    -
  1. pre_albumin_levels;
  2. -
-

0 smell(s) are disabled for this report:

-

2 Rules

@@ -523,8 +515,18 @@

2.1 Rule Summary

2.2 Rule Detail

-
- +
+ +
+
+

2.3 Inactive Rules

+
+

1 rules(s) are disabled for this report:

+
    +
  1. pre_albumin_levels;
  2. +
+

To enable/disable a rule, set the active element in the yaml checks file to “true” or “false”.

+
@@ -800,6 +802,13 @@

3.1 Smell Summary

+
+

3.2 Inactive Smells

+
+

0 smell(s) are disabled for this report:

+

To enable/disable a smell, set the active element in the yaml checks file to “true” or “false”.

+
+
diff --git a/inst/report-templates/rmarkdown-1/report-1.md b/inst/report-templates/rmarkdown-1/report-1.md index 2bed35e..1c194d4 100644 --- a/inst/report-templates/rmarkdown-1/report-1.md +++ b/inst/report-templates/rmarkdown-1/report-1.md @@ -1,6 +1,6 @@ --- title: Trawler Report -date: "Date: 2021-12-31 14:53:01" +date: "Date: 2021-12-31 15:54:07" output: html_document: keep_md: yes @@ -52,15 +52,6 @@ Instructions * the report code. 1. If you create a new rule or smell check, make sure the error message won't reveal any PHI. -Inactive Checks ------------------------------ - -1 rules(s) are disabled for this report: - -1. pre_albumin_levels; - -0 smell(s) are disabled for this report: - Rules {.tabset .tabset-fade} @@ -173,10 +164,21 @@ Rule Detail ----------------------------- ```{=html} -
- +
+ ``` +Inactive Rules +----------------------------- + +
+1 rules(s) are disabled for this report: + +1. pre_albumin_levels; + +To enable/disable a rule, set the `active` element in the yaml checks file to "true" or "false". +
+ Smells {.tabset .tabset-fade} ============================= @@ -296,3 +298,15 @@ Smell Summary + +Inactive Smells +----------------------------- + +
+ +0 smell(s) are disabled for this report: + + + +To enable/disable a smell, set the `active` element in the yaml checks file to "true" or "false". +