Last updated: 2020-12-02

Checks: 7 0

Knit directory: rss-net-results/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). 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(20180719) 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.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

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 a8f970f. 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:    .Rhistory
    Ignored:    .Rproj.user/

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/ne_suppfig.Rmd) and HTML (docs/ne_suppfig.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
Rmd a8f970f xiangzhu 2020-12-02 wflow_publish("analysis/*_suppfig.Rmd")
html fa30fbd xiangzhu 2020-12-02 Build site.
Rmd 876ed26 xiangzhu 2020-12-02 wflow_publish(“analysis/ne_suppfig.Rmd”)

This page provides numerical values to reproduce Supplementary Figure 13 of Zhu et al (2020).

Body mass index


Waist-to-hip ratio


Breast cancer


Rheumatoid arthritis


High-density lipoprotein


Low-density lipoprotein


Heart rate


Coronary artery disease


Atrial fibrillation


Schizophrenia


Neuroticism



devtools::session_info()
─ Session info ───────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 4.0.3 (2020-10-10)
 os       Ubuntu 20.04.1 LTS          
 system   x86_64, linux-gnu           
 ui       X11                         
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       America/New_York            
 date     2020-12-02                  

─ Packages ───────────────────────────────────────────────────────────────────
 package     * version date       lib source        
 assertthat    0.2.1   2019-03-21 [3] CRAN (R 4.0.0)
 callr         3.5.1   2020-10-13 [1] CRAN (R 4.0.3)
 cli           2.2.0   2020-11-20 [3] CRAN (R 4.0.3)
 crayon        1.3.4   2017-09-16 [3] CRAN (R 4.0.0)
 crosstalk     1.1.0.1 2020-03-13 [3] CRAN (R 4.0.0)
 desc          1.2.0   2018-05-01 [3] CRAN (R 4.0.0)
 devtools      2.3.2   2020-09-18 [3] CRAN (R 4.0.2)
 digest        0.6.27  2020-10-24 [3] CRAN (R 4.0.3)
 dplyr       * 1.0.2   2020-08-18 [1] CRAN (R 4.0.2)
 DT          * 0.16    2020-10-13 [3] CRAN (R 4.0.3)
 ellipsis      0.3.1   2020-05-15 [3] CRAN (R 4.0.0)
 evaluate      0.14    2019-05-28 [3] CRAN (R 4.0.0)
 fansi         0.4.1   2020-01-08 [3] CRAN (R 4.0.0)
 fs            1.5.0   2020-07-31 [1] CRAN (R 4.0.2)
 generics      0.1.0   2020-10-31 [1] CRAN (R 4.0.3)
 git2r         0.27.1  2020-05-03 [3] CRAN (R 4.0.0)
 glue          1.4.2   2020-08-27 [3] CRAN (R 4.0.2)
 htmltools     0.5.0   2020-06-16 [3] CRAN (R 4.0.1)
 htmlwidgets   1.5.2   2020-10-03 [3] CRAN (R 4.0.2)
 httpuv        1.5.4   2020-06-06 [3] CRAN (R 4.0.0)
 jsonlite      1.7.1   2020-09-07 [3] CRAN (R 4.0.2)
 knitr         1.30    2020-09-22 [3] CRAN (R 4.0.2)
 later         1.1.0.1 2020-06-05 [3] CRAN (R 4.0.0)
 lifecycle     0.2.0   2020-03-06 [3] CRAN (R 4.0.0)
 magrittr      2.0.1   2020-11-17 [3] CRAN (R 4.0.3)
 memoise       1.1.0   2017-04-21 [3] CRAN (R 4.0.0)
 pillar        1.4.7   2020-11-20 [3] CRAN (R 4.0.3)
 pkgbuild      1.1.0   2020-07-13 [3] CRAN (R 4.0.2)
 pkgconfig     2.0.3   2019-09-22 [3] CRAN (R 4.0.0)
 pkgload       1.1.0   2020-05-29 [3] CRAN (R 4.0.0)
 prettyunits   1.1.1   2020-01-24 [3] CRAN (R 4.0.0)
 processx      3.4.4   2020-09-03 [3] CRAN (R 4.0.2)
 promises      1.1.1   2020-06-09 [3] CRAN (R 4.0.1)
 ps            1.4.0   2020-10-07 [3] CRAN (R 4.0.2)
 purrr         0.3.4   2020-04-17 [3] CRAN (R 4.0.0)
 R6            2.5.0   2020-10-28 [3] CRAN (R 4.0.3)
 Rcpp          1.0.5   2020-07-06 [3] CRAN (R 4.0.2)
 remotes       2.2.0   2020-07-21 [3] CRAN (R 4.0.2)
 rlang         0.4.9   2020-11-26 [3] CRAN (R 4.0.3)
 rmarkdown     2.5     2020-10-21 [1] CRAN (R 4.0.3)
 rprojroot     2.0.2   2020-11-15 [3] CRAN (R 4.0.3)
 rstudioapi    0.13    2020-11-12 [3] CRAN (R 4.0.3)
 sessioninfo   1.1.1   2018-11-05 [3] CRAN (R 4.0.0)
 stringi       1.5.3   2020-09-09 [3] CRAN (R 4.0.2)
 stringr       1.4.0   2019-02-10 [3] CRAN (R 4.0.0)
 testthat      3.0.0   2020-10-31 [3] CRAN (R 4.0.3)
 tibble        3.0.4   2020-10-12 [3] CRAN (R 4.0.3)
 tidyselect    1.1.0   2020-05-11 [1] CRAN (R 4.0.0)
 usethis       1.6.3   2020-09-17 [3] CRAN (R 4.0.2)
 vctrs         0.3.5   2020-11-17 [3] CRAN (R 4.0.3)
 whisker       0.4     2019-08-28 [3] CRAN (R 4.0.0)
 withr         2.3.0   2020-09-22 [3] CRAN (R 4.0.2)
 workflowr     1.6.2   2020-04-30 [1] CRAN (R 4.0.0)
 xfun          0.19    2020-10-30 [3] CRAN (R 4.0.3)
 yaml          2.2.1   2020-02-01 [3] CRAN (R 4.0.0)

[1] /home/maimaizhu/R/x86_64-pc-linux-gnu-library/4.0
[2] /usr/local/lib/R/site-library
[3] /usr/lib/R/site-library
[4] /usr/lib/R/library