Skip to contents

This function fetches the source package URL for a given Bioconductor package. If no version is specified, it retrieves the latest available version. Currently, this function is not able to fetch archived package version for a bioconductor version

Usage

get_bioconductor_package_url(
  package_name,
  package_version = NULL,
  release_data
)

Arguments

package_name

A character string specifying the name of the Bioconductor package.

package_version

(Optional) A character string specifying the package version. Defaults to `NULL`, which retrieves the latest version.

release_data

A list containing Bioconductor release information.

Value

A list containing the following elements:

url

The URL of the source package (if available).

version

The specified or latest available package version.

last_version

The last available version of the package.

all_versions

A vector of all discovered versions of the package.

bioconductor_version_package

The Bioconductor version associated with the package.

archived

A logical value indicating whether the package is archived.

Examples

if (FALSE) { # \dontrun{
release_data <- list(
  list(release = "3.12"),
  list(release = "3.13"),
  list(release = "3.14")
)

get_bioconductor_package_url("GenomicRanges", release_data = release_data)



} # }