Last updated: 2023-08-30

Checks: 6 1

Knit directory: lab-notes/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(1) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Recording the operating system, R version, and package versions is critical for reproducibility. To record the session information, add sessioninfo: “sessionInfo()” to _workflowr.yml. Alternatively, you could use devtools::session_info() or sessioninfo::session_info(). Lastly, you can manually add a code chunk to this file to run any one of these commands and then disable to automatic insertion by changing the workflowr setting to sessioninfo: ““.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version ba8cc1d. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    analysis/doc_prefix.html

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/extra.Rmd) and HTML (docs/extra.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html d9c3393 1onic 2023-08-28 Build site.
html d4afa3b 1onic 2023-07-12 Build site.
html 289324b 1onic 2023-07-12 Build site.
html be52451 1onic 2023-07-12 Build site.
html a73ac21 1onic 2023-06-13 Build site.
html 41874f0 1onic 2023-06-13 Build site.
html 75989aa 1onic 2023-06-13 Build site.
html 14b2f73 1onic 2023-06-13 Build site.
html 6f3f6a4 1onic 2023-05-17 Build site.
html 5192404 1onic 2023-05-17 Build site.
html 93a8936 1onic 2023-05-10 Build site.
html 454b232 1onic 2023-05-10 Build site.
html 6a1bef0 1onic 2023-05-10 Build site.
html b8fbbd1 1onic 2023-05-10 Build site.
html e5648db 1onic 2023-05-10 Build site.
html c0c4bf0 1onic 2023-04-26 Build site.
html 9fbd5e6 1onic 2023-04-26 Build site.
html 1478db1 1onic 2023-04-19 Build site.
html e1b57ff 1onic 2023-03-29 Build site.
html 7288d9c 1onic 2023-03-29 Build site.
html 3aef7a8 1onic 2023-03-29 Build site.
html 3f796b6 1onic 2023-03-22 Build site.
html cdae3ea 1onic 2023-03-10 Build site.
html 99420b0 1onic 2023-03-10 Build site.
html 0f70ffe 1onic 2023-03-10 Build site.
html e4922c1 1onic 2023-03-02 Build site.
html 2d991e9 1onic 2023-03-02 Build site.
html c350c44 1onic 2023-02-06 Build site.
html f12e92e 1onic 2023-02-06 Build site.
html 0b2cc20 1onic 2023-02-06 Build site.
html fdd0022 1onic 2023-02-06 Build site.
html 21d42f1 1onic 2023-01-27 Build site.
html e47cac4 1onic 2023-01-27 Build site.
html bce6cff 1onic 2023-01-11 Build site.
html c51b055 1onic 2023-01-11 Build site.
html baf3f16 1onic 2023-01-11 Build site.
html f1c0cc6 1onic 2023-01-11 Build site.
html cbbb209 1onic 2022-12-09 Build site.
html fec1e8a 1onic 2022-12-09 Build site.
html 5006f39 1onic 2022-08-04 Build site.
html a6f860c 1onic 2022-08-04 Build site.
html 57e862a 1onic 2022-08-04 Build site.
html d9c1a09 1onic 2022-08-04 Build site.
html 8a38159 1onic 2022-08-04 Build site.
html 12331d2 1onic 2022-08-04 Build site.
html c814105 1onic 2022-08-04 Build site.
html c92e0bf 1onic 2022-08-03 Build site.
html 16b143f 1onic 2022-07-20 Build site.
html 3393b21 1onic 2022-07-20 Build site.
html a0de791 1onic 2022-07-20 Build site.
html bdf7cc6 1onic 2022-07-20 Build site.
html 02d90b5 1onic 2022-07-20 Build site.
html 0c1180e 1onic 2022-07-20 Build site.
html 52e007d 1onic 2022-07-20 Build site.
html 1b61926 1onic 2022-07-20 Build site.
html fd6de4c 1onic 2022-07-20 Build site.
html 635a240 1onic 2022-07-15 Build site.
html d13dab9 1onic 2022-07-13 Build site.
html 695caed 1onic 2022-07-13 Build site.
html ff7c8b1 1onic 2022-07-13 Build site.
html a8c96b0 1onic 2022-07-07 Build site.
html b06249e 1onic 2022-07-07 Build site.
html 04de0ae 1onic 2022-06-29 Build site.
html 2da0805 1onic 2022-06-29 Build site.
html 5eee051 1onic 2022-06-29 Build site.
html 1516b6d 1onic 2022-06-29 Build site.
html 28a9475 1onic 2022-06-28 Build site.
html 58646b4 1onic 2022-06-15 Build site.
html f4b1305 1onic 2022-06-15 Build site.
html cc4be00 N 2022-05-18 Build site.
html 1401122 N 2022-05-18 Build site.
html 557a2a9 N 2022-05-18 Build site.
html c41d4f9 N 2022-05-12 Build site.
html 1261222 N 2022-05-12 Build site.
html 90df802 N 2022-05-11 Build site.
html 6e985df N 2022-05-11 Build site.
html a844654 N 2022-05-11 Build site.
html aa46898 N 2022-05-11 Build site.
html d79e35c N 2022-05-11 Build site.
html bfc20a5 N 2022-05-04 Build site.
html ab1c893 N 2022-05-04 Build site.
html af6c895 N 2022-05-04 Build site.
html 001acfd N 2022-04-29 Build site.
html 52bb457 N 2022-04-29 Build site.
html 947de76 N 2022-04-29 Build site.
html ea30a16 N 2022-04-29 Build site.
html 299e079 N 2022-04-29 Build site.
html 30904e4 N 2022-04-29 Build site.
html 3540605 N 2022-04-29 Build site.
html f681be8 N 2022-04-29 Build site.
html a110a99 N 2022-04-27 Build site.
Rmd 0e643f6 N 2022-04-27 update
html 3592f27 N 2022-04-27 Build site.
Rmd 9048eec N 2022-04-27 update
html 37aa3b8 N 2022-04-27 Build site.
Rmd 613d06a N 2022-04-27 update
html 5bad46b N 2022-04-27 Build site.
html 7edf2ca N 2022-04-27 Build site.
Rmd 562a18e N 2022-04-27 update

Injecting HTML code w/ CSS stylesheet support in WorkFlowR

We can inject HTMl code, stored seperately in another document directly into R markdown, then knit the markdown file in workflowR using this technique.

In our markdown we include the following, using HTML tools from conda/R package:

<<insertHTML:[path/my_html_doc.html]

<code-chunk>'''{r, echo=FALSE}
htmltools::includeHTML("path/my_html_doc.html")
'''</code-chunk>

We can style our HTML by adding a CSS reference to our workflowr, a tutorial for which can be found in the official workflowr wiki Adding CSS stylesheet.

And the HTML example:

<html>
    <head>
    <title>lablog</title>
    </head>
    <body>
        <h2 style="color: #ffffff; font-size: 40px; z-index: 99; position: relative;" class="whiteheader">Hello World!</h2>
    </body>
</html>

Finally theres a live example here, on my homepage/index page: Home Page