Skip to content

Instantly share code, notes, and snippets.

@remlapmot
Created February 9, 2023 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remlapmot/e64089dd7fb037aa089584742fe6b180 to your computer and use it in GitHub Desktop.
Save remlapmot/e64089dd7fb037aa089584742fe6b180 to your computer and use it in GitHub Desktop.
Test installation methods for TwoSampleMR package
#' ---
#' title: "Test TwoSampleMR installation methods"
#' date: "2023-02-09"
#' output: html_document
#' ---
remove.packages(c('TwoSampleMR'))
reprex::reprex({
remotes::install_github("MRCIEU/TwoSampleMR")
library(TwoSampleMR)
})
install.packages("TwoSampleMR-0.5.6.tar.gz", repos = NULL, type = "source")
install.packages("https://github.com/MRCIEU/TwoSampleMR/archive/refs/tags/v0.5.6.tar.gz", repos = NULL, type = "source")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment