package_version: Pretty package version string

Description Usage Arguments Value

View source: R/attach.R

Description

This function takes the name of a package, finds its version, and generates a string where the fourth and subsequent fields are coloured in red (uses the crayon package).

Usage

1

Arguments

x

The name of an installed package, a character string. NB: the function is not vectorised on this argument.

Value

A stylised character string of the package version.


maialab/hapiverse documentation built on Dec. 21, 2021, 1:43 p.m.