Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1258 install dependencies from Github #1259

Merged
merged 12 commits into from
Aug 12, 2024
20 changes: 10 additions & 10 deletions .github/workflows/install_dependencies.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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")
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')
download.file('https://ci.appveyor.com/api/projects/open-systems-pharmacology-ci/tlf-library/artifacts/tlf.zip?pr=false', destfile = 'tlf.zip', mode='wb')
download.file('https://github.com/Open-Systems-Pharmacology/OSPSuite-R/releases/download/v12.1.0/ospsuite_12.1.0.zip', destfile = "ospsuite.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("ospsuite.utils.zip", repos = NULL, type = "binary")
install.packages("tlf.zip", repos = NULL, type = "binary")
install.packages("ospsuite.zip", repos = NULL, type = "binary")
unlink("rsharp.zip")
unlink("ospsuite-utils.zip")
unlink("tlf.zip")
unlink("ospsuite.zip")
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ skip_commits:
- .github/workflows/*.yml
- .github/workflows/*.sh
- .github/workflows/Dockerfile
- .github/workflows/*.R
# - .github/workflows/*.R
- '_pkgdown.yml'

skip_branch_with_pr: true
Expand Down
Loading