with_collate

0th

Percentile

Collation Order

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

Usage
with_collate(new, code)

local_collate(new, .local_envir = parent.frame())

Arguments
new

[character(1)] New collation order

code

[any] Code to execute in the temporary environment

.local_envir

[environment] The environment to use for scoping.

Value

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

See Also

withr for examples

Aliases
  • with_collate
  • local_collate
Documentation reproduced from package withr, version 2.1.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.