Skip to contents

Queries the Docker Hub API to retrieve all available tags for a specified Rocker image. Supports user-friendly modes: "base", "rstudio", "tidyverse", and "tidystudio". Returns a structured list containing the image name, tag vector, and source URL.

Usage

.get_r_ver_tags(r_mode = "base", verbose = FALSE)

Arguments

r_mode

Character string. One of "base", "rstudio", "tidyverse", or "tidystudio". Determines which Rocker image to query. "base" maps to "rocker/r-ver".

verbose

Logical. If TRUE, prints progress messages during tag retrieval and pagination. Defaults to FALSE.

Value

A named list with three elements: image (the full Docker image name), tags (character vector of all available tags), and source (the base URL of the Docker Hub API).