last_version_r {ropenblas} | R Documentation |
R language versions
Description
R language versions
Usage
last_version_r(major = NULL)
Arguments
major |
Major release number of R language (e.g. |
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:
-
last_version
: Returns the latest stable version of the language given a major version (major version). Ifmajor = NULL
, the latest stable version of the language will be returned based on the set of all language versions. -
versions
: Character vector with all language versions based on a major version (higher version). Ifmajor = NULL
,versions
will be a vector with the latest language versions. -
n
: Total number of versions of R based on major version. Ifmajor = NULL
,versions
will be a vector with the latest language versions.
See Also
Examples
# last_version_r(major = NULL)