Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
install png directly in check-deploy to fix png not found issue on R4.2.3
  • Loading branch information
danlu1 authored Aug 23, 2024
1 parent 53b085b commit e5591f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,11 @@ jobs:
PACKAGE="synapserutils"
echo "if (available.packages(repos='$RAN')['$PACKAGE','Version'] != '$VERSION_TO_CHECK') { quit(save = 'no', status = 1) }" > test.R
echo "try(remove.packages('$PACKAGE'), silent=T)" >> test.R
echo "install.packages('remotes', repos = 'https://cloud.r-project.org'); remotes::install_version('reticulate', version = '1.28', repos = 'https://cloud.r-project.org', dependencies = TRUE)" >> test.R
echo "reticulate::install_miniconda()" >> test.R
echo "reticulate::conda_create(envname='r-reticulate', python_version = '3.10')" >> test.R
echo "reticulate::use_condaenv('r-reticulate')" >> test.R
echo "install.packages('remotes', repos = 'https://cloud.r-project.org'); install.packages('png', repos = 'https://cloud.r-project.org')" >> test.R
echo "remotes::install_version('reticulate', version = '1.28', repos = 'https://cloud.r-project.org', dependencies = TRUE)" >> test.R
echo "reticulate::install_python(version = '3.10.11')" >> test.R
echo "reticulate::virtualenv_create(envname='r-reticulate',version = '3.10.11')" >> test.R
echo "reticulate::use_virtualenv('r-reticulate')" >> test.R
echo "remotes::install_version('rjson', version = '0.2.21', repos = 'https://cloud.r-project.org')" >> test.R
echo "install.packages('synapser', repos=c('http://ran.synapse.org', 'https://cloud.r-project.org'), dependencies = TRUE)" >> test.R
echo "install.packages('$PACKAGE', repos=c('$RAN', 'https://cloud.r-project.org/'))" >> test.R
Expand Down

0 comments on commit e5591f4

Please sign in to comment.