Skip to content

Commit

Permalink
Fixes Open-Systems-Pharmacology#1258 install dependencies from Github
Browse files Browse the repository at this point in the history
  • Loading branch information
pchelle committed Jul 29, 2024
1 parent 376fb71 commit 4777aee
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/install_dependencies.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
install.packages(c('dplyr','purrr','covr','readr','tidyr','webshot','spelling','readxl','data.table','gridtext','ggtext','tidyselect','testthat','rmarkdown','pkgdown','openxlsx'), repos = 'http://cran.us.r-project.org', type='win.binary')
download.file('https://github.com/Open-Systems-Pharmacology/rSharp/releases/download/v1.0.0/rSharp-v1.0.0-Windows-r_4.4.0.zip', destfile = "rsharp.zip", mode = "wb")
unzip("rsharp.zip")
rSharp_archive <- list.files( pattern = "rSharp.*\\.zip")
install.packages(rSharp_archive, repos = NULL, type = "binary")
unlink(c("rsharp.zip", rSharp_archive))
download.file('https://ci.appveyor.com/api/projects/open-systems-pharmacology-ci/ospsuite-rutils/artifacts/ospsuite.utils.zip?pr=false', destfile = 'ospsuite.utils.zip', mode='wb')
install.packages('ospsuite.utils.zip', repos = NULL, type = 'binary')
unlink('ospsuite.utils.zip')
download.file('https://ci.appveyor.com/api/projects/open-systems-pharmacology-ci/tlf-library/artifacts/tlf.zip?pr=false', destfile = 'tlf.zip', mode='wb')
install.packages('tlf.zip', repos = NULL, type = 'binary')
unlink('tlf.zip')
download.file('https://ci.appveyor.com/api/projects/open-systems-pharmacology-ci/ospsuite-r-rsharp/artifacts/ospsuite.zip?pr=false', destfile = 'ospsuite.zip', mode='wb')
install.packages('ospsuite.zip', repos = NULL, type = 'binary')
unlink('ospsuite.zip')
install.packages(c('remotes','dplyr','purrr','covr','readr','tidyr','webshot','spelling','readxl','data.table','gridtext','ggtext','tidyselect','testthat','rmarkdown','pkgdown','openxlsx'), repos = 'http://cran.us.r-project.org', type='win.binary')
remotes::install_github("Open-Systems-Pharmacology/OSPSuite.RUtils", ref ='develop')
remotes::install_github("Open-Systems-Pharmacology/rSharp", ref ='develop')
remotes::install_github("Open-Systems-Pharmacology/TLF-Library", ref ='develop')
remotes::install_github("Open-Systems-Pharmacology/OSPSuite-R", ref ='develop')

0 comments on commit 4777aee

Please sign in to comment.