Description Usage Arguments Examples
View source: R/utility-functions.R
Returns either a version extracted from a given object or the default version.
1 2 3 4 | getRVersionTag(
from,
default = paste(R.Version()$major, R.Version()$minor, sep = ".")
)
|
from |
the source to extract an R version: a 'sessionInfo()' or 'session_info()' object, a 'description' object, or an 'RData' file with a session info object |
default |
if 'from' does not contain version information (e.g. its an Rscript), use this default version information. |
1 | getRVersionTag(from = sessionInfo())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.