Showing 2 of total 2 results (show query)
poissonconsulting
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.
Maintained by Joe Thorley. Last updated 3 months ago.
7 stars 4.80 score 50 scripts 2 dependentsjamesdunham
concatenate:Human-Friendly Text from Unknown Strings
Simple functions for joining strings. Construct human-friendly messages whose elements aren't known in advance, like in stop, warning, or message, from clean code.
Maintained by James Dunham. Last updated 9 years ago.
2 stars 4.08 score 10 scripts 4 dependents