Running 'testthat.R' [43s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(sbo)
  > 
  > test_check("sbo")
  [ FAIL 9 | WARN 104 | SKIP 1 | PASS 240 ]
  
  == Skipped tests ===============================================================
  * Skip test for updated data (1)
  
  == Failed tests ================================================================
  -- Error ('test-eval_sbo_predictor.R:43'): error on invalid 'test' -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predictor("a b c d", N = 2, dict = c("a", "b")) at test-eval_sbo_predictor.R:43:8
    2. +-sbo:::sbo_predictor.character(...)
    3. | +-sbo::sbo_predtable(...)
    4. | \-sbo:::sbo_predtable.character(...)
    5. |   +-sbo::sbo_predtable(freqs, lambda, L, filtered)
    6. |   \-sbo:::sbo_predtable.sbo_kgram_freqs(freqs, lambda, L, filtered)
    7. |     \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    8. |       \-magrittr (local) FUN(X[[i]], ...)
    9. |         \-magrittr::freduce(value, `_function_list`)
   10. |           \-function_list[[i]](value)
   11. \-base::loadNamespace(x)
   12.   +-base::namespaceImportFrom(...)
   13.   | \-base::asNamespace(ns)
   14.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-eval_sbo_predictor.R:51'): errors on invalid 'L' ---------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predictor("a b c d", N = 2, dict = c("a", "b")) at test-eval_sbo_predictor.R:51:8
    2. +-sbo:::sbo_predictor.character(...)
    3. | +-sbo::sbo_predtable(...)
    4. | \-sbo:::sbo_predtable.character(...)
    5. |   +-sbo::sbo_predtable(freqs, lambda, L, filtered)
    6. |   \-sbo:::sbo_predtable.sbo_kgram_freqs(freqs, lambda, L, filtered)
    7. |     \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    8. |       \-magrittr (local) FUN(X[[i]], ...)
    9. |         \-magrittr::freduce(value, `_function_list`)
   10. |           \-function_list[[i]](value)
   11. \-base::loadNamespace(x)
   12.   +-base::namespaceImportFrom(...)
   13.   | \-base::asNamespace(ns)
   14.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-eval_sbo_predictor.R:61'): no error on no sentences ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predictor("a b c d", N = 2, dict = c("a", "b"), EOS = ".") at test-eval_sbo_predictor.R:61:8
    2. +-sbo:::sbo_predictor.character(...)
    3. | +-sbo::sbo_predtable(...)
    4. | \-sbo:::sbo_predtable.character(...)
    5. |   +-sbo::sbo_predtable(freqs, lambda, L, filtered)
    6. |   \-sbo:::sbo_predtable.sbo_kgram_freqs(freqs, lambda, L, filtered)
    7. |     \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    8. |       \-magrittr (local) FUN(X[[i]], ...)
    9. |         \-magrittr::freduce(value, `_function_list`)
   10. |           \-function_list[[i]](value)
   11. \-base::loadNamespace(x)
   12.   +-base::namespaceImportFrom(...)
   13.   | \-base::asNamespace(ns)
   14.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-eval_sbo_predictor.R:66'): no error on empty sentence only -----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predictor("a b c d", N = 2, dict = c("a", "b"), EOS = "") at test-eval_sbo_predictor.R:66:8
    2. +-sbo:::sbo_predictor.character(...)
    3. | +-sbo::sbo_predtable(...)
    4. | \-sbo:::sbo_predtable.character(...)
    5. |   +-sbo::sbo_predtable(freqs, lambda, L, filtered)
    6. |   \-sbo:::sbo_predtable.sbo_kgram_freqs(freqs, lambda, L, filtered)
    7. |     \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    8. |       \-magrittr (local) FUN(X[[i]], ...)
    9. |         \-magrittr::freduce(value, `_function_list`)
   10. |           \-function_list[[i]](value)
   11. \-base::loadNamespace(x)
   12.   +-base::namespaceImportFrom(...)
   13.   | \-base::asNamespace(ns)
   14.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-predict_comparisons.R:10'): predictions agree on simple example --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predictor(...) at test-predict_comparisons.R:10:8
    2. +-sbo:::sbo_predictor.character(...)
    3. | +-sbo::sbo_predtable(...)
    4. | \-sbo:::sbo_predtable.character(...)
    5. |   +-sbo::sbo_predtable(freqs, lambda, L, filtered)
    6. |   \-sbo:::sbo_predtable.sbo_kgram_freqs(freqs, lambda, L, filtered)
    7. |     \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    8. |       \-magrittr (local) FUN(X[[i]], ...)
    9. |         \-magrittr::freduce(value, `_function_list`)
   10. |           \-function_list[[i]](value)
   11. \-base::loadNamespace(x)
   12.   +-base::namespaceImportFrom(...)
   13.   | \-base::asNamespace(ns)
   14.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-prune.R:27'): pruned predtable coincides with the correct object --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predtable(...) at test-prune.R:27:8
    2. +-sbo:::sbo_predtable.character(...)
    3. | +-sbo::sbo_predtable(freqs, lambda, L, filtered)
    4. | \-sbo:::sbo_predtable.sbo_kgram_freqs(freqs, lambda, L, filtered)
    5. |   \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    6. |     \-magrittr (local) FUN(X[[i]], ...)
    7. |       \-magrittr::freduce(value, `_function_list`)
    8. |         \-function_list[[i]](value)
    9. \-base::loadNamespace(x)
   10.   +-base::namespaceImportFrom(...)
   11.   | \-base::asNamespace(ns)
   12.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-sbo_predtable.R:6'): return value has the correct structure ----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predtable(freqs) at test-sbo_predtable.R:6:8
    2. +-sbo:::sbo_predtable.sbo_kgram_freqs(freqs)
    3. | \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    4. |   \-magrittr (local) FUN(X[[i]], ...)
    5. |     \-magrittr::freduce(value, `_function_list`)
    6. |       \-function_list[[i]](value)
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-sbo_predtable.R:25'): different methods are consistent ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predtable(input, N = 3, dict = c("a", "b", "c")) at test-sbo_predtable.R:25:8
    2. +-sbo:::sbo_predtable.character(...)
    3. | +-sbo::sbo_predtable(freqs, lambda, L, filtered)
    4. | \-sbo:::sbo_predtable.sbo_kgram_freqs(freqs, lambda, L, filtered)
    5. |   \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    6. |     \-magrittr (local) FUN(X[[i]], ...)
    7. |       \-magrittr::freduce(value, `_function_list`)
    8. |         \-function_list[[i]](value)
    9. \-base::loadNamespace(x)
   10.   +-base::namespaceImportFrom(...)
   11.   | \-base::asNamespace(ns)
   12.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-word_coverage.R:16'): Correct result from other constructors ---
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-sbo::sbo_predictor(freqs, L = 1) at test-word_coverage.R:16:8
    2. +-sbo:::sbo_predictor.sbo_kgram_freqs(freqs, L = 1)
    3. | +-sbo::sbo_predtable(object, lambda = lambda, L = L, filtered = filtered)
    4. | \-sbo:::sbo_predtable.sbo_kgram_freqs(...)
    5. |   \-base::lapply(build_pps(object, N, lambda, filtered, L), extract_preds)
    6. |     \-magrittr (local) FUN(X[[i]], ...)
    7. |       \-magrittr::freduce(value, `_function_list`)
    8. |         \-function_list[[i]](value)
    9. \-base::loadNamespace(x)
   10.   +-base::namespaceImportFrom(...)
   11.   | \-base::asNamespace(ns)
   12.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 9 | WARN 104 | SKIP 1 | PASS 240 ]
  Error: Test failures
  Execution halted