tests/testthat/_snaps/help-shims.md

Conflicting language message shows up

Code
  which_lang(choose = TRUE)
Message
  i The `LANG` and `LANGUAGE` variables have different values.
    Will use value of `LANGUAGE`: "spanish"
    This message will only appear once during your session
Output
  [1] "spanish"

shim_lang_question works

Code
  shim_lang_question(1)
Condition
  Error in `shim_lang_question()`:
  ! Unknown input.


Try the lang package in your browser

Any scripts or data that you put into this service are public.

lang documentation built on June 5, 2026, 5:08 p.m.