R-gsubfn
Port variant standard
Summary Utilities for Strings and Function Arguments
Package version 0.7
Homepage https://github.com/ggrothendieck/gsubfn
Keywords cran
Maintainer CRAN Automaton
License Not yet specified
Other variants There are no other variants.
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 02 JAN 2023, 20:15:36 UTC
Port created 15 APR 2020, 18:11:42 UTC
Subpackage Descriptions
single gsubfn: Utilities for Strings and Function Arguments The gsubfn function 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. This can be used with R functions such as apply, sapply, lapply, optim, integrate, xyplot, Filter and any other function that expects another function as an input argument or functions like cat or sql calls that may involve strings where substitution is desirable. There is also a facility for returning multiple objects from functions and a version of transform that allows the RHS to refer to LHS used in the same transform.
Configuration Switches (platform-specific settings discarded)
This port has no build options.
Package Dependencies by Type
Build (only) gmake:primary:standard
R:primary:standard
icu:dev:standard
Build and Runtime R-proto:single:standard
Runtime (only) R:primary:standard
R:nls:standard
Download groups
main mirror://CRAN/src/contrib
https://loki.dragonflybsd.org/cranfiles/
Distribution File Information
89351df9e65722d2862f26a0a3985666de3c86e8400808ced8a6eb6e165a4602 311271 CRAN/gsubfn_0.7.tar.gz
Ports that require R-gsubfn:standard
R-sqldf:standard Manipulate R Data Frames Using SQL