Crandore Hub

yasp

String Functions for Compact R Code

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.

Versions across snapshots

VersionRepositoryFileSize
0.2.0 rolling linux/jammy R-4.5 yasp_0.2.0.tar.gz 27.5 KiB
0.2.0 rolling linux/noble R-4.5 yasp_0.2.0.tar.gz 27.6 KiB
0.2.0 rolling source/ R- yasp_0.2.0.tar.gz 7.2 KiB
0.2.0 latest linux/jammy R-4.5 yasp_0.2.0.tar.gz 27.5 KiB
0.2.0 latest linux/noble R-4.5 yasp_0.2.0.tar.gz 27.6 KiB
0.2.0 latest source/ R- yasp_0.2.0.tar.gz 7.2 KiB
0.2.0 2026-04-26 source/ R- yasp_0.2.0.tar.gz 7.2 KiB
0.2.0 2026-04-23 source/ R- yasp_0.2.0.tar.gz 7.2 KiB
0.2.0 2026-04-09 windows/windows R-4.5 yasp_0.2.0.zip 30.3 KiB
0.2.0 2025-04-20 source/ R- yasp_0.2.0.tar.gz 7.2 KiB