vprint: More Flexible Form of Boolean Verbose

R functions are not supposed to print text without giving the user the option to turn the printing off or on using a Boolean 'verbose' in a construct like 'if(verbose) print(...)'. But this black/white approach is rather rigid, and an approach with shades of gray might be more appropriate in many circumstances. As of Version 1.4, also supports text and background colors, as well as text styles.

Getting started

Package details

AuthorBarry Zeeberg [aut, cre]
MaintainerBarry Zeeberg <barryz2013@gmail.com>
LicenseGPL (>= 2)
Version1.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("vprint")

Try the vprint package in your browser

Any scripts or data that you put into this service are public.

vprint documentation built on Sept. 9, 2026, 1:07 a.m.