Package: yasp 0.2.0

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.

Authors:Tomasz Kalinowski [aut, cre]

yasp_0.2.0.tar.gz
yasp_0.2.0.zip(r-4.5)yasp_0.2.0.zip(r-4.4)yasp_0.2.0.zip(r-4.3)
yasp_0.2.0.tgz(r-4.4-any)yasp_0.2.0.tgz(r-4.3-any)
yasp_0.2.0.tar.gz(r-4.5-noble)yasp_0.2.0.tar.gz(r-4.4-noble)
yasp_0.2.0.tgz(r-4.4-emscripten)yasp_0.2.0.tgz(r-4.3-emscripten)
yasp.pdf |yasp.html
yasp/json (API)

# Install 'yasp' in R:
install.packages('yasp', repos = c('https://t-kalinowski.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/t-kalinowski/yasp/issues

On CRAN:

3.60 score 8 stars 4 scripts 104 downloads 23 exports 0 dependencies

Last updated 6 years agofrom:b25cc0cff4. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-winWARNINGNov 06 2024
R-4.5-linuxWARNINGNov 06 2024
R-4.4-winWARNINGNov 06 2024
R-4.4-macWARNINGNov 06 2024
R-4.3-winWARNINGNov 06 2024
R-4.3-macWARNINGNov 06 2024

Exports:bracebracketdbl_quotepp0parenspcpc_andpc_orpccpcnlpcspcscpspshpsnlpsspsusentencesngl_quoteunparensunwrapwrap

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
paste variantsp p0 pc pcc pcnl pcs pcsc pc_and pc_or ps psh psnl pss psu
sentencesentence
unwrapunparens unwrap
Wrap stringsbrace bracket dbl_quote parens sngl_quote wrap