Write the versions of R and CornerstoneR in a Cornerstone dataset.

showVersions(return.results = FALSE)

Arguments

return.results

[logical(1)]
If FALSE the function returns TRUE invisibly. If TRUE, it returns a list of results. Default is FALSE.

Value

Logical [TRUE] invisibly and outputs to Cornerstone or, if return.results = TRUE, list of resulting data.frame objects:

versions

Dataset with versions of R and CornerstoneR.

Examples

  res = showVersions(return.results = TRUE)
  res$versions
#>                    Name               Value
#>                  <char>              <char>
#> 1:            R Version  4.1.3 (2022-03-10)
#> 2:           R Platform x86_64-pc-linux-gnu
#> 3: CornerstoneR Version               3.3.0