yasp: String Functions for Compact R Code
Version 0.2.0

A collection of string functions designed for writing compact and expressive R code. 'yasp' (Yet Another String Package) is simple, fast, dependency-free, and written in pure R. The package provides: a coherent set of abbreviations for paste() from package 'base' with a variety of defaults, such as p() for "paste" and pcc() for "paste and collapse with commas"; wrap(), bracket(), and others for wrapping a string in flanking characters; unwrap() for removing pairs of characters (at any position in a string); and sentence() for cleaning whitespace around punctuation and capitalization appropriate for prose sentences.

Getting started

Package details

AuthorTomasz Kalinowski [aut, cre]
Date of publication2018-05-29 22:46:45 UTC
MaintainerTomasz Kalinowski <[email protected]>
LicenseMIT + file LICENSE
URL https://github.com/t-kalinowski/yasp
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the yasp package in your browser

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

yasp documentation built on May 30, 2018, 1:03 a.m.