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.
Package details |
|
---|---|
Author | Joe Thorley [aut, cre] (<https://orcid.org/0000-0002-7683-4592>), James Dunham [aut] |
Maintainer | Joe Thorley <joe@poissonconsulting.ca> |
License | MIT + file LICENSE |
Version | 0.2.0 |
URL | https://github.com/poissonconsulting/err |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.