Skip to content

Commit

Permalink
[ci] [R-package] test against R 4.3 on Linux and macOS (#6075)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Sep 4, 2023
1 parent bca716c commit 5ea0057
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
export R_LINUX_VERSION="3.6.3-1bionic"
export R_APT_REPO="bionic-cran35/"
elif [[ "${R_MAJOR_VERSION}" == "4" ]]; then
export R_MAC_VERSION=4.2.2
export R_MAC_PKG_URL=${CRAN_MIRROR}/bin/macosx/base/R-${R_MAC_VERSION}.pkg
export R_LINUX_VERSION="4.2.2-1.2204.0"
export R_MAC_VERSION=4.3.1
export R_MAC_PKG_URL=${CRAN_MIRROR}/bin/macosx/big-sur-x86_64/base/R-${R_MAC_VERSION}-x86_64.pkg
export R_LINUX_VERSION="4.3.1-1.2204.0"
export R_APT_REPO="jammy-cran40/"
else
echo "Unrecognized R version: ${R_VERSION}"
Expand Down Expand Up @@ -56,6 +56,7 @@ if [[ $OS_NAME == "linux" ]]; then
texlive-latex-recommended \
texlive-fonts-recommended \
texlive-fonts-extra \
tidy \
qpdf \
|| exit -1

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/r_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- os: ubuntu-latest
task: r-package
compiler: gcc
r_version: 4.2
r_version: 4.3
build_type: cmake
container: 'ubuntu:22.04'
- os: ubuntu-latest
Expand All @@ -60,19 +60,19 @@ jobs:
- os: ubuntu-latest
task: r-package
compiler: clang
r_version: 4.2
r_version: 4.3
build_type: cmake
container: 'ubuntu:22.04'
- os: macOS-latest
task: r-package
compiler: gcc
r_version: 4.2
r_version: 4.3
build_type: cmake
container: null
- os: macOS-latest
task: r-package
compiler: clang
r_version: 4.2
r_version: 4.3
build_type: cmake
container: null
- os: windows-latest
Expand Down Expand Up @@ -125,13 +125,13 @@ jobs:
- os: ubuntu-latest
task: r-package
compiler: gcc
r_version: 4.2
r_version: 4.3
build_type: cran
container: 'ubuntu:22.04'
- os: macOS-latest
task: r-package
compiler: clang
r_version: 4.2
r_version: 4.3
build_type: cran
container: null
################
Expand All @@ -140,7 +140,7 @@ jobs:
- os: ubuntu-latest
task: r-rchk
compiler: gcc
r_version: 4.2
r_version: 4.3
build_type: cran
container: 'ubuntu:22.04'
steps:
Expand Down

0 comments on commit 5ea0057

Please sign in to comment.