Skip to content

Commit

Permalink
Cran actions fix for ubuntu (#178)
Browse files Browse the repository at this point in the history
* change github actions for ubuntu

* add sudo apt install commands for devtools error fix

* run apt update before installation

* add development version of ubuntu-18.04
  • Loading branch information
vaithak authored Sep 21, 2021
1 parent 7915eb1 commit 558627e
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/R-CMD-check-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,10 @@ jobs:
fail-fast: false
matrix:
config:
# - {os: macOS-latest, r: 'devel'}
# - {os: macOS-latest, r: 'release'}
# - {os: windows-latest, r: 'devel'}
# - {os: windows-latest, r: 'release'}
# - {os: ubuntu-latest, r: 'devel'} # error in "Run r-lib/actions/setup-r@master"
# - {os: ubuntu-latest, r: 'release'} ##[error]Error in library(devtools) : there is no package called ‘devtools’
# - {os: ubuntu-18.04, r: 'release'} ##[error]Error in library(devtools) : there is no package called ‘devtools’
- {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: ubuntu-16.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: ubuntu-16.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: ubuntu-16.04, r: '3.4', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: ubuntu-16.04, r: '3.3', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: ubuntu-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-18.04, r: 'devel'}
- {os: ubuntu-18.04, r: 'release'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
Expand All @@ -40,6 +32,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: sudo apt-get update || true;
sudo apt install build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev;

- uses: r-lib/actions/setup-r@master
with:
Expand Down

0 comments on commit 558627e

Please sign in to comment.