From 73d3cf9575f75b48fb19324e6ec7b3b31071e0ed Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Fri, 31 Dec 2021 16:56:47 -0600 Subject: [PATCH] Add configuration section ref #5 --- .../report-templates/rmarkdown-1/report-1.Rmd | 23 +++++ .../rmarkdown-1/report-1.html | 91 ++++++++++++++++- inst/report-templates/rmarkdown-1/report-1.md | 98 ++++++++++++++++++- 3 files changed, 206 insertions(+), 6 deletions(-) diff --git a/inst/report-templates/rmarkdown-1/report-1.Rmd b/inst/report-templates/rmarkdown-1/report-1.Rmd index 653328e..57e61bf 100644 --- a/inst/report-templates/rmarkdown-1/report-1.Rmd +++ b/inst/report-templates/rmarkdown-1/report-1.Rmd @@ -286,3 +286,26 @@ 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". + +Configuration {.tabset .tabset-fade} +============================= + +For the sake of documentation and reproducibility, the current report was rendered in the following environment. Click the line below to expand. + +
+ Environment +```{r session-info, echo=FALSE} +if( requireNamespace("sessioninfo", quietly = TRUE) ) { + sessioninfo::session_info() +} else { + sessionInfo() +} +``` +
+ +```{r session-duration, echo=FALSE} +report_render_duration_in_seconds <- as.integer(difftime(Sys.time(), report_render_start_time, units="secs")) +``` + +Report rendered by `r Sys.info()["user"]` at `r strftime(Sys.time(), "%Y-%m-%d, %H:%M %z")` in `r report_render_duration_in_seconds` seconds. + diff --git a/inst/report-templates/rmarkdown-1/report-1.html b/inst/report-templates/rmarkdown-1/report-1.html index 5b14bf4..f08aef3 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 15:54:07

+

Date: 2021-12-31 16:56:22

@@ -515,8 +515,8 @@

2.1 Rule Summary

2.2 Rule Detail

-
- +
+

2.3 Inactive Rules

@@ -810,6 +810,91 @@

3.2 Inactive Smells<

+
+

4 Configuration

+

For the sake of documentation and reproducibility, the current report was rendered in the following environment. Click the line below to expand.

+
+ +Environment + +
## ─ Session info ───────────────────────────────────────────────────────────────
+##  setting  value
+##  version  R version 4.1.1 (2021-08-10)
+##  os       Ubuntu 21.10
+##  system   x86_64, linux-gnu
+##  ui       X11
+##  language (EN)
+##  collate  en_US.UTF-8
+##  ctype    en_US.UTF-8
+##  tz       America/Chicago
+##  date     2021-12-31
+##  pandoc   2.11.4 @ /usr/lib/rstudio/bin/pandoc/ (via rmarkdown)
+## 
+## ─ Packages ───────────────────────────────────────────────────────────────────
+##  package     * version date (UTC) lib source
+##  assertthat    0.2.1   2019-03-21 [1] CRAN (R 4.1.0)
+##  backports     1.4.1   2021-12-13 [1] CRAN (R 4.1.1)
+##  bslib         0.3.1   2021-10-06 [1] CRAN (R 4.1.1)
+##  checkmate     2.0.0   2020-02-06 [1] CRAN (R 4.1.0)
+##  cli           3.1.0   2021-10-27 [1] CRAN (R 4.1.1)
+##  colorspace    2.0-2   2021-06-24 [1] CRAN (R 4.1.0)
+##  crayon        1.4.2   2021-10-29 [1] CRAN (R 4.1.1)
+##  crosstalk     1.2.0   2021-11-04 [1] CRAN (R 4.1.1)
+##  DBI           1.1.1   2021-01-15 [1] CRAN (R 4.1.0)
+##  digest        0.6.29  2021-12-01 [1] CRAN (R 4.1.1)
+##  dplyr         1.0.7   2021-06-18 [1] CRAN (R 4.1.0)
+##  DT            0.20    2021-11-15 [1] CRAN (R 4.1.1)
+##  ellipsis      0.3.2   2021-04-29 [1] CRAN (R 4.1.0)
+##  evaluate      0.14    2019-05-28 [1] CRAN (R 4.1.0)
+##  fansi         0.5.0   2021-05-25 [1] CRAN (R 4.1.0)
+##  fastmap       1.1.0   2021-01-25 [1] CRAN (R 4.1.0)
+##  generics      0.1.1   2021-10-25 [1] CRAN (R 4.1.1)
+##  glue          1.6.0   2021-12-17 [1] CRAN (R 4.1.1)
+##  htmltools     0.5.2   2021-08-25 [1] CRAN (R 4.1.1)
+##  htmlwidgets   1.5.4   2021-09-08 [1] CRAN (R 4.1.1)
+##  httr          1.4.2   2020-07-20 [1] CRAN (R 4.1.0)
+##  jquerylib     0.1.4   2021-04-26 [1] CRAN (R 4.1.0)
+##  jsonlite      1.7.2   2020-12-09 [1] CRAN (R 4.1.0)
+##  kableExtra    1.3.4   2021-02-20 [1] CRAN (R 4.1.0)
+##  knitr       * 1.37    2021-12-16 [1] CRAN (R 4.1.1)
+##  lifecycle     1.0.1   2021-09-24 [1] CRAN (R 4.1.1)
+##  magrittr      2.0.1   2020-11-17 [1] CRAN (R 4.1.0)
+##  munsell       0.5.0   2018-06-12 [1] CRAN (R 4.1.0)
+##  pillar        1.6.4   2021-10-18 [1] CRAN (R 4.1.1)
+##  pkgconfig     2.0.3   2019-09-22 [1] CRAN (R 4.1.0)
+##  purrr         0.3.4   2020-04-17 [1] CRAN (R 4.1.0)
+##  R6            2.5.1   2021-08-19 [1] CRAN (R 4.1.1)
+##  rlang         0.4.12  2021-10-18 [1] CRAN (R 4.1.1)
+##  rmarkdown     2.11    2021-09-14 [1] CRAN (R 4.1.1)
+##  rstudioapi    0.13    2020-11-12 [1] CRAN (R 4.1.0)
+##  rvest         1.0.2   2021-10-16 [1] CRAN (R 4.1.1)
+##  sass          0.4.0   2021-05-12 [1] CRAN (R 4.1.0)
+##  scales        1.1.1   2020-05-11 [1] CRAN (R 4.1.0)
+##  sessioninfo   1.2.2   2021-12-06 [1] CRAN (R 4.1.1)
+##  stringi       1.7.6   2021-11-29 [1] CRAN (R 4.1.1)
+##  stringr       1.4.0   2019-02-10 [1] CRAN (R 4.1.0)
+##  svglite       2.0.0   2021-02-20 [1] CRAN (R 4.1.0)
+##  systemfonts   1.0.3   2021-10-13 [1] CRAN (R 4.1.1)
+##  tibble        3.1.6   2021-11-07 [1] CRAN (R 4.1.1)
+##  tidyr         1.1.4   2021-09-27 [1] CRAN (R 4.1.1)
+##  tidyselect    1.1.1   2021-04-30 [1] CRAN (R 4.1.0)
+##  utf8          1.2.2   2021-07-24 [1] CRAN (R 4.1.0)
+##  vctrs         0.3.8   2021-04-29 [1] CRAN (R 4.1.0)
+##  viridisLite   0.4.0   2021-04-13 [1] CRAN (R 4.1.0)
+##  webshot       0.5.2   2019-11-22 [1] CRAN (R 4.1.0)
+##  xfun          0.29    2021-12-14 [1] CRAN (R 4.1.1)
+##  xml2          1.3.3   2021-11-30 [1] CRAN (R 4.1.1)
+##  yaml          2.2.1   2020-02-01 [1] CRAN (R 4.1.0)
+## 
+##  [1] /home/wibeasley/R/x86_64-pc-linux-gnu-library/4.1
+##  [2] /usr/local/lib/R/site-library
+##  [3] /usr/lib/R/site-library
+##  [4] /usr/lib/R/library
+## 
+## ──────────────────────────────────────────────────────────────────────────────
+
+

Report rendered by wibeasley at 2021-12-31, 16:56 -0600 in 1 seconds.

+
diff --git a/inst/report-templates/rmarkdown-1/report-1.md b/inst/report-templates/rmarkdown-1/report-1.md index 1c194d4..a227a61 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 15:54:07" +date: "Date: 2021-12-31 16:56:22" output: html_document: keep_md: yes @@ -164,8 +164,8 @@ Rule Detail ----------------------------- ```{=html} -
- +
+ ``` Inactive Rules @@ -310,3 +310,95 @@ Inactive Smells To enable/disable a smell, set the `active` element in the yaml checks file to "true" or "false". + +Configuration {.tabset .tabset-fade} +============================= + +For the sake of documentation and reproducibility, the current report was rendered in the following environment. Click the line below to expand. + +
+ Environment + +``` +## ─ Session info ─────────────────────────────────────────────────────────────── +## setting value +## version R version 4.1.1 (2021-08-10) +## os Ubuntu 21.10 +## system x86_64, linux-gnu +## ui X11 +## language (EN) +## collate en_US.UTF-8 +## ctype en_US.UTF-8 +## tz America/Chicago +## date 2021-12-31 +## pandoc 2.11.4 @ /usr/lib/rstudio/bin/pandoc/ (via rmarkdown) +## +## ─ Packages ─────────────────────────────────────────────────────────────────── +## package * version date (UTC) lib source +## assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.1.0) +## backports 1.4.1 2021-12-13 [1] CRAN (R 4.1.1) +## bslib 0.3.1 2021-10-06 [1] CRAN (R 4.1.1) +## checkmate 2.0.0 2020-02-06 [1] CRAN (R 4.1.0) +## cli 3.1.0 2021-10-27 [1] CRAN (R 4.1.1) +## colorspace 2.0-2 2021-06-24 [1] CRAN (R 4.1.0) +## crayon 1.4.2 2021-10-29 [1] CRAN (R 4.1.1) +## crosstalk 1.2.0 2021-11-04 [1] CRAN (R 4.1.1) +## DBI 1.1.1 2021-01-15 [1] CRAN (R 4.1.0) +## digest 0.6.29 2021-12-01 [1] CRAN (R 4.1.1) +## dplyr 1.0.7 2021-06-18 [1] CRAN (R 4.1.0) +## DT 0.20 2021-11-15 [1] CRAN (R 4.1.1) +## ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.0) +## evaluate 0.14 2019-05-28 [1] CRAN (R 4.1.0) +## fansi 0.5.0 2021-05-25 [1] CRAN (R 4.1.0) +## fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.0) +## generics 0.1.1 2021-10-25 [1] CRAN (R 4.1.1) +## glue 1.6.0 2021-12-17 [1] CRAN (R 4.1.1) +## htmltools 0.5.2 2021-08-25 [1] CRAN (R 4.1.1) +## htmlwidgets 1.5.4 2021-09-08 [1] CRAN (R 4.1.1) +## httr 1.4.2 2020-07-20 [1] CRAN (R 4.1.0) +## jquerylib 0.1.4 2021-04-26 [1] CRAN (R 4.1.0) +## jsonlite 1.7.2 2020-12-09 [1] CRAN (R 4.1.0) +## kableExtra 1.3.4 2021-02-20 [1] CRAN (R 4.1.0) +## knitr * 1.37 2021-12-16 [1] CRAN (R 4.1.1) +## lifecycle 1.0.1 2021-09-24 [1] CRAN (R 4.1.1) +## magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.0) +## munsell 0.5.0 2018-06-12 [1] CRAN (R 4.1.0) +## pillar 1.6.4 2021-10-18 [1] CRAN (R 4.1.1) +## pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.1.0) +## purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.0) +## R6 2.5.1 2021-08-19 [1] CRAN (R 4.1.1) +## rlang 0.4.12 2021-10-18 [1] CRAN (R 4.1.1) +## rmarkdown 2.11 2021-09-14 [1] CRAN (R 4.1.1) +## rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.1.0) +## rvest 1.0.2 2021-10-16 [1] CRAN (R 4.1.1) +## sass 0.4.0 2021-05-12 [1] CRAN (R 4.1.0) +## scales 1.1.1 2020-05-11 [1] CRAN (R 4.1.0) +## sessioninfo 1.2.2 2021-12-06 [1] CRAN (R 4.1.1) +## stringi 1.7.6 2021-11-29 [1] CRAN (R 4.1.1) +## stringr 1.4.0 2019-02-10 [1] CRAN (R 4.1.0) +## svglite 2.0.0 2021-02-20 [1] CRAN (R 4.1.0) +## systemfonts 1.0.3 2021-10-13 [1] CRAN (R 4.1.1) +## tibble 3.1.6 2021-11-07 [1] CRAN (R 4.1.1) +## tidyr 1.1.4 2021-09-27 [1] CRAN (R 4.1.1) +## tidyselect 1.1.1 2021-04-30 [1] CRAN (R 4.1.0) +## utf8 1.2.2 2021-07-24 [1] CRAN (R 4.1.0) +## vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.1.0) +## viridisLite 0.4.0 2021-04-13 [1] CRAN (R 4.1.0) +## webshot 0.5.2 2019-11-22 [1] CRAN (R 4.1.0) +## xfun 0.29 2021-12-14 [1] CRAN (R 4.1.1) +## xml2 1.3.3 2021-11-30 [1] CRAN (R 4.1.1) +## yaml 2.2.1 2020-02-01 [1] CRAN (R 4.1.0) +## +## [1] /home/wibeasley/R/x86_64-pc-linux-gnu-library/4.1 +## [2] /usr/local/lib/R/site-library +## [3] /usr/lib/R/site-library +## [4] /usr/lib/R/library +## +## ────────────────────────────────────────────────────────────────────────────── +``` +
+ + + +Report rendered by wibeasley at 2021-12-31, 16:56 -0600 in 1 seconds. +