Running 'spelling.R' [0s/0s]
  Running 'testthat.R' [1s/2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(hunspell)
  > 
  > test_check("hunspell")
  == Failed tests ================================================================
  -- Error (test-cache.R:9:3): Caching works as expected -------------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. \-hunspell::dictionary("en_US") test-cache.R:9:2
   2.   \-hunspell:::dictionary_load(...)
   3.     \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-cache.R:30:3): No false positives -------------------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_length(...) test-cache.R:30:2
   2. | \-testthat::quasi_label(enquo(object), arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell("jeroen", dict = "en_US", ignore = NULL)
   5.   \-hunspell::dictionary(dict, add_words = ignore)
   6.     \-hunspell:::dictionary_load(...)
   7.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-case.R:6:3): Words have proper casing ---------------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_true(hunspell_check("JavaScript", dict = "en_GB")) test-case.R:6:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell_check("JavaScript", dict = "en_GB")
   5.   \-hunspell::dictionary(dict)
   6.     \-hunspell:::dictionary_load(...)
   7.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-case.R:30:5): Fancy quote is converted to apostrophe ------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_false(hunspell_check(x, dict = dictionary(lang = lang))) test-case.R:30:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-hunspell::hunspell_check(x, dict = dictionary(lang = lang))
   5. | \-hunspell::dictionary(dict)
   6. \-hunspell::dictionary(lang = lang)
   7.   \-hunspell:::dictionary_load(...)
   8.     \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-encodings.R:5:3): Dictionaries are by path ----------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_equal(...) test-encodings.R:5:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell_info(...)
   5.   \-hunspell::dictionary(dict)
   6.     \-hunspell:::dictionary_load(...)
   7.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-encodings.R:14:3): Dictionaries are found -----------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_equal(hunspell_info("en_US")$encoding, "UTF-8") test-encodings.R:14:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell_info("en_US")
   5.   \-hunspell::dictionary(dict)
   6.     \-hunspell:::dictionary_load(...)
   7.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-encodings.R:34:3): UTF8 always works ----------------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_equal(length(hunspell_find(str1)[[1]]), 6) test-encodings.R:34:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell_find(str1)
   5.   +-hunspell::dictionary(dict, add_words = ignore)
   6.   \-hunspell::dictionary("en_US")
   7.     \-hunspell:::dictionary_load(...)
   8.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-encodings.R:64:3): custom words in dictionary -------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_false(hunspell_check(word_native)) test-encodings.R:64:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell_check(word_native)
   5.   +-hunspell::dictionary(dict)
   6.   \-hunspell::dictionary("en_US")
   7.     \-hunspell:::dictionary_load(...)
   8.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-parser.R:7:5): Parser works for large strings -------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_length(hunspell_parse(y)[[1]], 1300) test-parser.R:7:4
   2. | \-testthat::quasi_label(enquo(object), arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell_parse(y)
   5.   +-hunspell::dictionary(dict)
   6.   \-hunspell::dictionary("en_US")
   7.     \-hunspell:::dictionary_load(...)
   8.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-parser.R:30:3): Test English apostrophe -------------------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_equal(...) test-parser.R:30:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-base::sapply(hunspell_parse(text, dict = "en_US"), length)
   5. | \-base::lapply(X = X, FUN = FUN, ...)
   6. \-hunspell::hunspell_parse(text, dict = "en_US")
   7.   \-hunspell::dictionary(dict)
   8.     \-hunspell:::dictionary_load(...)
   9.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  -- Error (test-parser.R:43:3): Quotes around words are ignored -----------------
  Error: 'old' is longer than 'new'
  Backtrace:
      x
   1. +-testthat::expect_equal(...) test-parser.R:43:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-hunspell::hunspell_parse(str, dict = "en_US")
   5.   \-hunspell::dictionary(dict)
   6.     \-hunspell:::dictionary_load(...)
   7.       \-base::chartr("<U+2019>", "'", as.character(add_words))
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted