tests/testthat/_snaps/helper.md

normalize_stop_words validates inputs

Code
  normalize_stop_words(stop_word = 1:3)
Condition
  Error in `normalize_stop_words()`:
  ! `stop_word` must be `NULL` or a character vector.
Code
  normalize_stop_words(stop_word_file = 1)
Condition
  Error in `normalize_stop_words()`:
  ! `stop_word_file` must be `NULL` or a single file path string.
Code
  normalize_stop_words(stop_word_file = tempfile())
Condition
  Error in `normalize_stop_words()`:
  ! `stop_word_file` must point to an existing file.


Try the jiebaRS package in your browser

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

jiebaRS documentation built on Oct. 13, 2026, 5:07 p.m.