CRAN Package Check Results for Package quanteda

Last updated on 2021-06-15 09:52:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 254.00 276.35 530.35 OK
r-devel-linux-x86_64-debian-gcc 3.0.0 169.64 205.41 375.05 OK
r-devel-linux-x86_64-fedora-clang 3.0.0 677.40 NOTE
r-devel-linux-x86_64-fedora-gcc 3.0.0 606.42 NOTE
r-devel-windows-x86_64 3.0.0 307.00 351.00 658.00 OK
r-devel-windows-x86_64-gcc10-UCRT 3.0.0 NOTE
r-patched-linux-x86_64 3.0.0 203.00 260.16 463.16 OK
r-patched-solaris-x86 3.0.0 642.20 ERROR
r-release-linux-x86_64 3.0.0 200.55 259.83 460.38 OK
r-release-macos-arm64 3.0.0 NOTE
r-release-macos-x86_64 3.0.0 NOTE
r-release-windows-ix86+x86_64 3.0.0 563.00 533.00 1096.00 NOTE
r-oldrel-macos-x86_64 3.0.0 NOTE
r-oldrel-windows-ix86+x86_64 3.0.0 422.00 555.00 977.00 NOTE

Check Details

Version: 3.0.0
Check: installed package size
Result: NOTE
     installed size is 11.0Mb
     sub-directories of 1Mb or more:
     libs 8.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 3.0.0
Check: data for non-ASCII characters
Result: NOTE
     Note: found 4 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 3.0.0
Check: examples
Result: ERROR
    Running examples in ‘quanteda-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: corpus-class
    > ### Title: Base method extensions for corpus objects
    > ### Aliases: corpus-class +.corpus c.corpus [.corpus print.summary.corpus
    > ### Keywords: corpus internal
    >
    > ### ** Examples
    >
    > # concatenate corpus objects
    > corp1 <- corpus(data_char_ukimmig2010[1:2])
    > corp2 <- corpus(data_char_ukimmig2010[3:4])
    > corp3 <- corpus(data_char_ukimmig2010[5:6])
    > summary(c(corp1, corp2, corp3))
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
    Calls: summary ... stri_detect_regex -> .handleSimpleError -> h -> .handleSimpleError -> h
    Execution halted
Flavor: r-patched-solaris-x86

Version: 3.0.0
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [180s/195s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > Sys.setenv("R_TESTS" = "")
     > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
     >
     > library(testthat)
     > library(quanteda)
     Package version: 3.0.0
     Unicode version: 7.0
     ICU version: 55.1
     Parallel computing: 16 of 16 threads used.
     See https://quanteda.io for tutorials and examples.
     >
     > ops <- quanteda_options()
     > quanteda_options(reset = TRUE)
     > test_check("quanteda")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (4)
     • On Solaris (1)
     • ngrams disabled in new tokens() (1)
     • not implemented yet (1)
     • requires spacyr installation to work (1)
     • skipping test of option setting when quanteda is not attached (1)
     • we no longer expect these to be the same (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-corpus_segment.R:53:5): corpus_segment works with blank before tag ──
     Error: error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
     Backtrace:
     █
     1. ├─base::summary(corp_seg) test-corpus_segment.R:53:4
     2. ├─base::summary(corp_seg)
     3. ├─quanteda:::summary.corpus(corp_seg)
     4. │ └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
     5. │ ├─quanteda::convert(...)
     6. │ ├─quanteda::dfm_lookup(...)
     7. │ └─quanteda:::dfm_lookup.dfm(...)
     8. │ └─quanteda::object2id(...)
     9. │ └─quanteda::pattern2id(...)
     10. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     11. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     12. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     13. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     14. ├─base::.handleSimpleError(...)
     15. │ └─base:::h(simpleError(msg, call))
     16. └─base::.handleSimpleError(...)
     17. └─base:::h(simpleError(msg, call))
     ── Error (test-meta.R:124:5): adding summary info works ────────────────────────
     Error: error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
     Backtrace:
     █
     1. ├─quanteda:::add_summary_metadata(corp) test-meta.R:124:4
     2. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
     3. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
     4. │ └─quanteda:::summary.corpus(x, n = ndoc(x), showmeta = FALSE, ...)
     5. │ └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
     6. │ ├─quanteda::convert(...)
     7. │ ├─quanteda::dfm_lookup(...)
     8. │ └─quanteda:::dfm_lookup.dfm(...)
     9. │ └─quanteda::object2id(...)
     10. │ └─quanteda::pattern2id(...)
     11. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     12. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     13. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     14. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     15. ├─base::.handleSimpleError(...)
     16. │ └─base:::h(simpleError(msg, call))
     17. └─base::.handleSimpleError(...)
     18. └─base:::h(simpleError(msg, call))
     ── Error (test-meta.R:179:5): adding extended summary information works ────────
     Error: error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
     Backtrace:
     █
     1. ├─quanteda:::add_summary_metadata(corp, extended = TRUE) test-meta.R:179:4
     2. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
     3. │ ├─base::summary(x, n = ndoc(x), showmeta = FALSE, ...)
     4. │ └─quanteda:::summary.corpus(x, n = ndoc(x), showmeta = FALSE, ...)
     5. │ └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
     6. │ ├─quanteda::convert(...)
     7. │ ├─quanteda::dfm_lookup(...)
     8. │ └─quanteda:::dfm_lookup.dfm(...)
     9. │ └─quanteda::object2id(...)
     10. │ └─quanteda::pattern2id(...)
     11. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     12. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     13. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     14. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     15. ├─base::.handleSimpleError(...)
     16. │ └─base:::h(simpleError(msg, call))
     17. └─base::.handleSimpleError(...)
     18. └─base:::h(simpleError(msg, call))
     ── Failure (test-nfunctions.R:4:5): test nsentence ─────────────────────────────
     nsentence(txt) not identical to c(doc1 = 2L, doc2 = 2L).
     1/2 mismatches
     [1] 4 - 2 == 2
     ── Failure (test-nfunctions.R:5:5): test nsentence ─────────────────────────────
     nsentence(corpus(txt)) not identical to c(doc1 = 2L, doc2 = 2L).
     1/2 mismatches
     [1] 4 - 2 == 2
     ── Failure (test-nfunctions.R:6:5): test nsentence ─────────────────────────────
     nsentence(tokens(txt, what = "sentence")) not identical to c(doc1 = 2L, doc2 = 2L).
     1/2 mismatches
     [1] 4 - 2 == 2
     ── Error (test-summary.R:2:5): summary and print.summary work ──────────────────
     Error: error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
     Backtrace:
     █
     1. ├─base::summary(data_corpus_inaugural[1:2]) test-summary.R:2:4
     2. ├─base::summary(data_corpus_inaugural[1:2])
     3. ├─quanteda:::summary.corpus(data_corpus_inaugural[1:2])
     4. │ └─quanteda:::summarize(as.corpus(object), tolower = tolower, ...)
     5. │ ├─quanteda::convert(...)
     6. │ ├─quanteda::dfm_lookup(...)
     7. │ └─quanteda:::dfm_lookup.dfm(...)
     8. │ └─quanteda::object2id(...)
     9. │ └─quanteda::pattern2id(...)
     10. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     11. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     12. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     13. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     14. ├─base::.handleSimpleError(...)
     15. │ └─base:::h(simpleError(msg, call))
     16. └─base::.handleSimpleError(...)
     17. └─base:::h(simpleError(msg, call))
    
     [ FAIL 7 | WARN 1 | SKIP 10 | PASS 2739 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 3.0.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘quickstart.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Package version: 3.0.0
    Unicode version: 7.0
    ICU version: 55.1
    Parallel computing: 16 of 16 threads used.
    See https://quanteda.io for tutorials and examples.
    Quitting from lines 80-82 (quickstart.Rmd)
    Error: processing vignette 'quickstart.Rmd' failed with diagnostics:
    error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
    --- failed re-building ‘quickstart.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘quickstart.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86