Marek Gagolewski
Marek Gagolewski
For example: `re2_match(pattern, string)` for some the reverse arg order is more natural `(string, pattern)` (see e.g., `stringr` functions) `(string, pattern)` works better with `magrittr`'s pipe operator to ``` string...
e.g., Windows does not have a UTF-8 locale set by default
Since R 3.0, vectors can be of size > 2^31-1 (sole character strings are restricted to 2^31 - 1 bytes) e.g., `R_xlen_t n = xlength(x)`.
I'll help you with a Solaris build. I have access to a SPARC-based machine which has a similar configuration as the CRAN one. Once you're ready, msg me.
Formatter types: URBNF_SPELLOUT, which creates a formatter that spells out a value in words in the desired language, URBNF_ORDINAL, which attaches an ordinal suffix from the desired language to the...
...because search functions are named like `*_coll()`.
`sep=""` by default `stri_dup("a", 3, sep=",")` should be equal to `a,a,a`
macOS-latest (release) yields: ``` ----- FAILED[data]: test-sprintf.R call| expect_identical(outer(f, x, stri_sprintf, na_string = "NA"), call| --> outer(f, x, sprintf)) diff| 4 string mismatches ----- FAILED[data]: test-sprintf.R call| expect_identical(stri_sprintf("%08s", "abc"), sprintf("%08s",...
``` invert_match {stringr} R Documentation Switch location of matches to location of non-matches. Description Invert a matrix of match locations to match the opposite of what was previously matched. Usage...