This package browser is in early development. Mind the rough edges.

r-gsubfn 0.7

Utilities for strings and function arguments

This package provides gsubfn which is like gsub but can take a replacement function or certain other objects instead of the replacement string. Matches and back references are input to the replacement function and replaced by the function output. gsubfn can be used to split strings based on content rather than delimiters and for quasi-perl-style string interpolation. The package also has facilities for translating formulas to functions and allowing such formulas in function calls instead of functions.

Installation

Install r-gsubfn 0.7 as follows:

guix install r-gsubfn@0.7

Or install the latest version:

guix install r-gsubfn

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.