R Under development (unstable) (2024-07-29 r86934 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(moranajp) > > test_check("moranajp") Analaysing by mecab. Please wait. [ FAIL 1 | WARN 1 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-moranajp.R:13:7'): text_id of moranajp matches text number ───── Error in `purrr::map(purrr::map(dplyr::group_split(make_groups(tbl, text_col = text_col, length = 8000, tmp_group = tmp_group, str_length = str_length), .data[[tmp_group]]), dplyr::select, dplyr::all_of(text_col)), moranajp, bin_dir = bin_dir, method = method, text_col = text_col, option = option, iconv = iconv, col_lang = col_lang)`: i In index: 1. Caused by error in `system()`: ! 'd:/pf/mecab/bin/mecab' not found Backtrace: ▆ 1. ├─moranajp::moranajp_all(...) at test-moranajp.R:13:7 2. │ ├─dplyr::bind_rows(...) 3. │ │ └─rlang::list2(...) 4. │ └─purrr::map(...) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ ├─purrr:::with_indexed_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ ├─purrr:::call_with_cleanup(...) 9. │ └─moranajp (local) .f(.x[[i]], ...) 10. │ └─base::system(command, intern = TRUE, input = input) 11. └─base::.handleSimpleError(...) 12. └─purrr (local) h(simpleError(msg, call)) 13. └─cli::cli_abort(...) 14. └─rlang::abort(...) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 1 ] Error: Test failures Execution halted