with_collate {withr}R Documentation

Collation Order

Description

Temporarily change collation order by changing the value of the LC_COLLATE locale.

Usage

with_collate(new, code)

Arguments

new

[character(1)]
New collation order

code

[any]
Code to execute in the temporary environment

Value

[any]
The results of the evaluation of the code argument.

See Also

withr for examples


[Package withr version 1.0.2 Index]