last_version_r: R language versions

last_version_rR Documentation

R language versions

Description

R language versions

Usage

last_version_r(major = NULL)

Arguments

major

Major release number of R language (e.g. 1L, 2L, 3L, ...). If major = NULL, the function will consider the major release number.

Details

This function automatically searches R language versions in the official language repositories. That way, doing last_version_r(major = NULL) you will always be well informed about which latest stable version the R language is in. You can also set the higher version and do a search on the versions of the R language whose major version was 1L or 2L, for example.

Value

A list of two named elements will be returned. Are they:

  1. last_version: Returns the latest stable version of the language given a major version (major version). If major = NULL, the latest stable version of the language will be returned based on the set of all language versions.

  2. versions: Character vector with all language versions based on a major version (higher version). If major = NULL, versions will be a vector with the latest language versions.

  3. n: Total number of versions of R based on major version. If major = NULL, versions will be a vector with the latest language versions.

See Also

ropenblas, rcompiler

Examples

# last_version_r(major = NULL)

prdm0/ropenblas documentation built on Sept. 6, 2022, 12:17 a.m.