Skip to content

Instantly share code, notes, and snippets.

@remlapmot
Last active August 5, 2022 11:12
Show Gist options
  • Save remlapmot/9f07a677ad359262f4cee15918c3a308 to your computer and use it in GitHub Desktop.
Save remlapmot/9f07a677ad359262f4cee15918c3a308 to your computer and use it in GitHub Desktop.
CRAN dependencies for TwoSampleMR R package to install the binary packages on Ubuntu instead of compiling from source
#!/bin/bash
sudo apt-get update -y &&
apt-get --with-new-pkgs upgrade -y &&
apt-get install -y gfortran \
libgmp-dev \
r-cran-ggplot2 \
r-cran-gridextra \
r-cran-cowplot \
r-cran-plyr \
r-cran-reshape2 \
r-cran-stringr \
r-cran-knitr \
r-cran-markdown \
r-cran-gtable \
r-cran-rmarkdown \
r-cran-mendelianrandomization \
r-cran-dplyr \
r-cran-psych \
r-cran-magrittr \
r-cran-car \
r-cran-randomforest \
r-cran-meta \
r-cran-data.table \
r-cran-glmnet \
r-cran-lattice \
r-cran-pbapply \
r-cran-mass \
r-cran-cairo \
r-cran-remotes &&
R -q -e "remotes::install_github('MRCIEU/TwoSampleMR')"
@remlapmot
Copy link
Author

  • TwoSampleMR DESCRIPTION file is here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment