Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(zipangu)
  > 
  > test_check("zipangu")
  [ FAIL 4 | WARN 16 | SKIP 2 | PASS 139 ]
  
  == Skipped tests ===============================================================
  * On CRAN (2)
  
  == Failed tests ================================================================
  -- Failure ('test-jyear.R:10'): convert jyear works ----------------------------
  convert_jyear("<U+5E73><U+6210><U+5143><U+5E74>") not equal to convert_jyear("H1").
  1/1 mismatches
  [1] NA - 1989 == NA
  -- Failure ('test-jyear.R:33'): convert japanese date format -------------------
  convert_jdate("<U+4EE4><U+548C>2<U+5E74>7<U+6708>6<U+65E5>") not equal to as.Date("2020-07-06").
  'is.NA' value mismatch: 0 in current 1 in target
  -- Failure ('test-jyear.R:45'): convert japanese date format -------------------
  convert_jdate(...) not equal to as.Date(c("2018-01-01", "2018-02-01", NA)).
  'is.NA' value mismatch: 1 in current 3 in target
  -- Error ('test-kanji.R:37'): convert kansuji to arabic works ------------------
  Error in `stringr::str_detect(doc_cha[i], pattern = "")`: `pattern` can't be the empty string (`""`).
  Backtrace:
       x
    1. +-testthat::expect_equal(...) at test-kanji.R:37:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-zipangu::kansuji2arabic_str("<U+91D1><U+4E00><U+5104><U+4E8C><U+5343><U+4E09><U+767E><U+56DB><U+5341><U+4E94><U+4E07><U+516D><U+5343><U+4E03><U+767E><U+516B><U+5341><U+4E5D><U+5186>")
    5. | +-... %>% unlist()
    6. | \-purrr::map(...)
    7. |   \-zipangu (local) .f(.x[[i]], ...)
    8. |     \-stringr::str_detect(doc_cha[i], pattern = "")
    9. |       \-stringr:::no_empty()
   10. |         \-cli::cli_abort(...)
   11. |           \-rlang::abort(...)
   12. \-base::unlist(.)
  
  [ FAIL 4 | WARN 16 | SKIP 2 | PASS 139 ]
  Error: Test failures
  Execution halted