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.19.0 2025-12-09 /tmp/Rtmp7onbjq/temp_libpath7600a491cca69"
version("base")
#> [1] "base 4.5.1  /opt/R/4.5.1/lib/R/library"