Extra String Manipulation Functions

There are some things that I wish were easier with the 'stringr' or 'stringi' packages. The foremost of these is the extraction of numbers from strings. 'stringr' and 'stringi' make you figure out the regular expression for yourself; 'strex' takes care of this for you. There are many other handy functionalities in 'strex'. Contributions to this package are encouraged: it is intended as a miscellany of string manipulation functions that cannot be found in 'stringi' or 'stringr'.


There are some things that I wish were easier with the stringr or stringi packages. The foremost of these is the extraction of numbers from strings. stringr lets you figure this out the regex for yourself; strex takes care of this for you. There are many more useful functionalities in strex. In particular, there’s a match_arg() function which is more flexible than the base match.arg(). Contributions to this package are encouraged: it is intended as a miscellany of string manipulation functions which cannot be found in stringi or stringr.

Travis-CI BuildStatus AppVeyor buildstatus Coveragestatus

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. lifecycle

CRANstatus RStudio CRANdownloads RStudioCRAN monthly downloads Rdocumentation

Installation

You can install the release version of strex from CRAN with:

install.packages("strex")

You can install the development version of strex from GitHub with:

devtools::install_github("rorynolan/strex")

How to use the package

See the package website at https://rorynolan.github.io/strex.

News

strex 0.1.3

BUG FIXES

  • Require necessary version of glue.

strex 0.1.2

BUG FIXES

  • Require necessary version of ore.

strex 0.1.1

BUG FIXES

  • Allow for unexpected error message on mac.

strex 0.1.0

  • The first incarnation.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("strex")

0.1.3 by Rory Nolan, 4 months ago


https://rorynolan.github.io/strex/


Report a bug at https://github.com/rorynolan/strex/issues


Browse source code at https://github.com/cran/strex


Authors: Rory Nolan [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports Rcpp, magrittr, checkmate, matrixStats, ore, purrr, rlang, tibble, glue

Depends on stringr

Suggests testthat, knitr, rmarkdown, pacman, covr, spelling

Linking to Rcpp

System requirements: C++11


Imported by filesstrings.


See at CRAN