Echoes the package version number

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.18.0 2025-05-27 /tmp/RtmpSXdTFu/temp_libpath340898415ac360"
version("base")
#> [1] "base 4.4.1  /opt/R/4.4.1/lib/R/library"