tests/testthat/utils.R

skip_if_no_sudachi <- function() {
  if (!reticulate::py_module_available("sudachipy"))
    skip("SudachiPy not available for testing")
}

Try the sudachir package in your browser

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

sudachir documentation built on Nov. 10, 2020, 3:48 p.m.