CRAN Package Check Results for Package quanteda

Last updated on 2021-02-25 01:49:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.2 325.85 400.76 726.61 OK
r-devel-linux-x86_64-debian-gcc 2.1.2 222.70 298.01 520.71 OK
r-devel-linux-x86_64-fedora-clang 2.1.2 993.10 NOTE
r-devel-linux-x86_64-fedora-gcc 2.1.2 943.57 NOTE
r-devel-windows-ix86+x86_64 2.1.2 540.00 614.00 1154.00 NOTE
r-patched-linux-x86_64 2.1.2 265.93 381.90 647.83 OK
r-patched-solaris-x86 2.1.2 871.30 ERROR
r-release-linux-x86_64 2.1.2 263.71 380.33 644.04 OK
r-release-macos-x86_64 2.1.2 NOTE
r-release-windows-ix86+x86_64 2.1.2 754.00 624.00 1378.00 NOTE
r-oldrel-macos-x86_64 2.1.2 NOTE
r-oldrel-windows-ix86+x86_64 2.1.2 477.00 691.00 1168.00 NOTE

Check Details

Version: 2.1.2
Check: installed package size
Result: NOTE
     installed size is 17.0Mb
     sub-directories of 1Mb or more:
     R 1.1Mb
     libs 13.6Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

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

Version: 2.1.2
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 is.corpus +.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: 2.1.2
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [272s/254s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > Sys.setenv("R_TESTS" = "")
     >
     > library(testthat)
     > library(quanteda)
     Package version: 2.1.2
     Parallel computing: 2 of 16 threads used.
     See https://quanteda.io for tutorials and examples.
    
     Attaching package: 'quanteda'
    
     The following object is masked from 'package:utils':
    
     View
    
     >
     > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
     >
     > ops <- quanteda_options()
     > quanteda_options(reset = TRUE)
     >
     > test_check("quanteda")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● For interactive visual inspection only (2)
     ● NEEDS TO BE FIXED (1)
     ● On CRAN (6)
     ● On Solaris (6)
     ● Skip until textstat_simil() has been corrected for empty dfms (1)
     ● Skipped because stats::chisq.test is wrong for small-value 2x2 tables (1)
     ● Until we resolve metadoc issues (1)
     ● defaults may have changed (1)
     ● ngrams disabled in new tokens() (1)
     ● not implemented yet (1)
     ● requires spacyr installation to work (1)
     ● skip until textstat_dist() works correctly for zero-variance documents (1)
     ● skipping test of option setting when quanteda is not attached (1)
     ● until all MA measures are made functional (1)
     ● until textstat_dist() works correctly for empty dfms (1)
     ● we no longer expect these to be the same (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-corpus_segment.R:55: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:55:4
     2. ├─base::summary(corp_seg)
     3. ├─quanteda:::summary.corpus(corp_seg)
     4. │ ├─quanteda::textstat_summary(...)
     5. │ └─quanteda:::textstat_summary.corpus(...)
     6. │ └─quanteda:::summarize(as.corpus(x), cache, ...)
     7. │ ├─quanteda::convert(...)
     8. │ ├─quanteda::dfm_lookup(...)
     9. │ └─quanteda:::dfm_lookup.dfm(...)
     10. │ └─quanteda:::pattern2list(...)
     11. │ └─quanteda::pattern2id(...)
     12. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     13. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     14. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     15. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     16. ├─base::.handleSimpleError(...)
     17. │ └─base:::h(simpleError(msg, call))
     18. └─base::.handleSimpleError(...)
     19. └─base:::h(simpleError(msg, call))
     ── Error (test-meta.R:126: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:126: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::textstat_summary(...)
     6. │ └─quanteda:::textstat_summary.corpus(...)
     7. │ └─quanteda:::summarize(as.corpus(x), cache, ...)
     8. │ ├─quanteda::convert(...)
     9. │ ├─quanteda::dfm_lookup(...)
     10. │ └─quanteda:::dfm_lookup.dfm(...)
     11. │ └─quanteda:::pattern2list(...)
     12. │ └─quanteda::pattern2id(...)
     13. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     14. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     15. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     16. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     17. ├─base::.handleSimpleError(...)
     18. │ └─base:::h(simpleError(msg, call))
     19. └─base::.handleSimpleError(...)
     20. └─base:::h(simpleError(msg, call))
     ── Error (test-meta.R:181: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:181: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::textstat_summary(...)
     6. │ └─quanteda:::textstat_summary.corpus(...)
     7. │ └─quanteda:::summarize(as.corpus(x), cache, ...)
     8. │ ├─quanteda::convert(...)
     9. │ ├─quanteda::dfm_lookup(...)
     10. │ └─quanteda:::dfm_lookup.dfm(...)
     11. │ └─quanteda:::pattern2list(...)
     12. │ └─quanteda::pattern2id(...)
     13. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     14. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     15. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     16. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     17. ├─base::.handleSimpleError(...)
     18. │ └─base:::h(simpleError(msg, call))
     19. └─base::.handleSimpleError(...)
     20. └─base:::h(simpleError(msg, call))
     ── Failure (test-nfunctions.R:6:5): test nsentence ─────────────────────────────
     nsentence(txt) not identical to c(doc1 = 2L, doc2 = 2L).
     1/2 mismatches
     [1] 4 - 2 == 2
     ── Failure (test-nfunctions.R:7: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:8: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-textstat_summary.R:11:5): textstat_summary method 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::textstat_summary(corp, cache = FALSE) test-textstat_summary.R:11:4
     2. ├─quanteda:::textstat_summary.corpus(corp, cache = FALSE)
     3. │ └─quanteda:::summarize(as.corpus(x), cache, ...)
     4. │ ├─quanteda::convert(...)
     5. │ ├─quanteda::dfm_lookup(...)
     6. │ └─quanteda:::dfm_lookup.dfm(...)
     7. │ └─quanteda:::pattern2list(...)
     8. │ └─quanteda::pattern2id(...)
     9. │ ├─base::as.list(search_regex(pattern[[i]], types_search, case_insensitive))
     10. │ └─quanteda:::search_regex(pattern[[i]], types_search, case_insensitive)
     11. │ ├─base::which(stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive))
     12. │ └─stringi::stri_detect_regex(types_search, pattern, case_insensitive = case_insensitive)
     13. ├─base::.handleSimpleError(...)
     14. │ └─base:::h(simpleError(msg, call))
     15. └─base::.handleSimpleError(...)
     16. └─base:::h(simpleError(msg, call))
    
     [ FAIL 7 | WARN 26 | SKIP 27 | PASS 3017 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 2.1.2
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) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Package version: 2.1.2
    Parallel computing: 2 of 16 threads used.
    See https://quanteda.io for tutorials and examples.
    
    Attaching package: 'quanteda'
    
    The following object is masked from 'package:utils':
    
     View
    
    Quitting from lines 74-76 (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