Skip to contents

Echoes the package version number

Usage

version(pkg = "mice")

Arguments

pkg

A character vector with the package name.

Value

A character vector containing the package name, version number and installed directory.

Author

Stef van Buuren, Oct 2010

Examples

version()
#> [1] "mice 3.16.10 2024-04-17 /home/runner/work/_temp/Library"
version("base")
#> [1] "base 4.3.3  /opt/R/4.3.3/lib/R/library"