twodigitRversion: Get a two-digit version of the R version

View source: R/internal.R

twodigitRversionR Documentation

Get a two-digit version of the R version

Description

Get a two-digit version of the R version

Usage

twodigitRversion(Rversion = R.version)

Arguments

Rversion

Version of R (only used if type is not source.) Defaults to R.version, but this can be specified as any of the following formats:

  • a character string with the two digit R version, e.g. "3.1"

  • a list with components major and minor

  • the result of getRversion()

  • the result of R.version

Value

A character string representing the two-digit R version.


miniCRAN documentation built on March 18, 2022, 6:29 p.m.