err: Customizable Object Sensitive Messages

Messages should provide users with readable information about R objects without flooding their console. 'cc()' concatenates vector and data frame values into a grammatically correct string using commas, an ellipsis and conjunction. 'cn()' allows the user to define a string which varies based on a count. 'co()' combines the two to produce a customizable object aware string. The package further facilitates this process by providing five 'sprintf'-like types such as '%n' for the length of an object and '%o' for its name as well as wrappers for pasting objects and issuing errors, warnings and messages.

Getting started

Package details

AuthorJoe Thorley [aut, cre] (<https://orcid.org/0000-0002-7683-4592>), James Dunham [aut]
MaintainerJoe Thorley <joe@poissonconsulting.ca>
LicenseMIT + file LICENSE
Version0.2.0
URL https://github.com/poissonconsulting/err
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("err")

Try the err package in your browser

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

err documentation built on May 2, 2019, 3:07 p.m.