Skip to content

Commit

Permalink
Merge pull request #110 from rstudio/r433
Browse files Browse the repository at this point in the history
Update for R 4.3.3; fix tests for R-devel changes
  • Loading branch information
glin authored Mar 1, 2024
2 parents be4ef1d + b727920 commit 8df759e
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion 4.3/bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:bookworm

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=debian-12

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/bookworm/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-bookworm
add_tag 4.3.3-bookworm
2 changes: 1 addition & 1 deletion 4.3/bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:bullseye

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=debian-11

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/bullseye/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-bullseye
add_tag 4.3.3-bullseye
2 changes: 1 addition & 1 deletion 4.3/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:centos7

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=centos-7

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/centos7/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-centos7
add_tag 4.3.3-centos7
2 changes: 1 addition & 1 deletion 4.3/focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:focal

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=ubuntu-2004

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/focal/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-focal
add_tag 4.3.3-focal
2 changes: 1 addition & 1 deletion 4.3/jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:jammy

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=ubuntu-2204

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/jammy/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-jammy
add_tag 4.3.3-jammy
2 changes: 1 addition & 1 deletion 4.3/opensuse154/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:opensuse154

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=opensuse-154

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/opensuse154/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-opensuse154
add_tag 4.3.3-opensuse154
2 changes: 1 addition & 1 deletion 4.3/opensuse155/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:opensuse155

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=opensuse-155

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/opensuse155/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-opensuse155
add_tag 4.3.3-opensuse155
2 changes: 1 addition & 1 deletion 4.3/rockylinux8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:rockylinux8

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=centos-8

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/rockylinux8/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-rockylinux8
add_tag 4.3.3-rockylinux8
2 changes: 1 addition & 1 deletion 4.3/rockylinux9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:rockylinux9

ARG R_VERSION=4.3.2
ARG R_VERSION=4.3.3
ARG OS_IDENTIFIER=rhel-9

# Install R
Expand Down
2 changes: 1 addition & 1 deletion 4.3/rockylinux9/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function add_tag() {
docker push $DOCKER_REPO:$1
}

add_tag 4.3.2-rockylinux9
add_tag 4.3.3-rockylinux9
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ VARIANTS ?= focal jammy bullseye bookworm centos7 rockylinux8 rockylinux9 opensu
PATCH_VERSIONS ?= 3.1.3 3.2.5 3.3.3 3.4.4 3.5.3 \
3.6.0 3.6.1 3.6.2 3.6.3 \
4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 \
4.1.0 4.1.1 4.1.2 4.1.3 4.2.0 4.2.1 4.2.2 4.2.3 4.3.0 4.3.1 4.3.2
4.1.0 4.1.1 4.1.2 4.1.3 \
4.2.0 4.2.1 4.2.2 4.2.3 \
4.3.0 4.3.1 4.3.2 4.3.3
# INCLUDE_PATCH_VERSIONS, if set to `yes`, includes all patch versions in the
# "all" targets.
INCLUDE_PATCH_VERSIONS ?= no
Expand Down
6 changes: 4 additions & 2 deletions test/test.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ tryCatch(capabilities(), warning = function(w) {

# Check graphics devices
# https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/Devices.html
for (dev_name in c("png", "jpeg", "tiff", "svg", "bmp", "pdf", "postscript",
"xfig", "pictex", "cairo_pdf", "cairo_ps")) {
devices <- c("png", "jpeg", "tiff", "svg", "bmp", "pdf", "postscript",
if (getRversion() < "4.4.0") c("xfig", "pictex"),
"cairo_pdf", "cairo_ps")
for (dev_name in devices) {
# Skip unsupported graphics devices (e.g. tiff in R >= 3.3 on CentOS 6)
if (dev_name %in% names(capabilities()) && capabilities(dev_name) == FALSE) {
next
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ declare -A r_versions=(
[4.0]='4.0.5'
[4.1]='4.1.3'
[4.2]='4.2.3'
[4.3]='4.3.2'
[4.3]='4.3.3'
[devel]='devel'
)

Expand Down

0 comments on commit 8df759e

Please sign in to comment.