Releases: trevorld/bracer
Releases · trevorld/bracer
bracer v1.2.2
bracer v1.2.0
-
expand_braces()
,str_expand_braces()
, andglob()
now support a new argumentengine
(#4):- If
'r'
use a pure R parser. - If
'v8'
use the 'braces' Javascript parser via the suggested V8 package. - If
NULL
use'v8'
if'V8'
package detected else use'r'
;
in either case send amessage()
about the choice
unlessgetOption(bracer.engine.inform')
isFALSE
.
The 'braces' Javascript parser can handle some edge cases that the pure R parser cannot.
- If
bracer 1.1.1
expand_braces
now handles vectorized input and returns one character vector with all the brace expansions. New functionstr_expand_braces
offers an alternative that instead returns a list of character vectors.- New function
glob
provides a wrapper aroundSys.glob
that supports
both brace and wildcard expansion on file paths.
bracer 1.0.1
expand_braces
can now parse nested braces.