CRAN Package Check Results for Package quanteda

Last updated on 2020-08-07 01:49:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.1 303.59 408.03 711.62 OK
r-devel-linux-x86_64-debian-gcc 2.1.1 240.26 297.82 538.08 OK
r-devel-linux-x86_64-fedora-clang 2.1.1 905.42 NOTE
r-devel-linux-x86_64-fedora-gcc 2.1.1 755.84 NOTE
r-devel-windows-ix86+x86_64 2.1.1 746.00 886.00 1632.00 NOTE
r-patched-linux-x86_64 2.1.1 255.49 388.34 643.83 OK
r-patched-solaris-x86 2.1.1 824.00 ERROR
r-release-linux-x86_64 2.1.1 249.59 390.97 640.56 OK
r-release-macos-x86_64 2.1.1 NOTE
r-release-windows-ix86+x86_64 2.1.1 748.00 644.00 1392.00 NOTE
r-oldrel-macos-x86_64 2.1.1 NOTE
r-oldrel-windows-ix86+x86_64 2.1.1 497.00 614.00 1111.00 NOTE

Check Details

Version: 2.1.1
Check: installed package size
Result: NOTE
     installed size is 17.2Mb
     sub-directories of 1Mb or more:
     R 1.1Mb
     libs 13.9Mb
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.1
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.1
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': Start of codes indicating failure. (U_ILLEGAL_ARGUMENT_ERROR)
    Calls: summary ... stri_detect_regex -> .handleSimpleError -> h -> .handleSimpleError -> h
    Execution halted
Flavor: r-patched-solaris-x86

Version: 2.1.1
Check: for unstated dependencies in ‘tests’
Result: WARN
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
    Warning in deparse(e[[2L]]) :
     it is not known that wchar_t is Unicode on this platform
Flavor: r-patched-solaris-x86

Version: 2.1.1
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [267s/317s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > Sys.setenv("R_TESTS" = "")
     >
     > library(testthat)
     > library(quanteda)
     Package version: 2.1.1
     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")
     ── 1. Error: corpus_segment works with blank before tag (@test-corpus_segment.R#
     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': Start of codes indicating failure. (U_ILLEGAL_ARGUMENT_ERROR)
     Backtrace:
     1. base::summary(corp_seg)
     18. base::.handleSimpleError(...)
     19. base:::h(simpleError(msg, call))
    
     ── 2. Error: adding summary info works (@test-meta.R#126) ─────────────────────
     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': Start of codes indicating failure. (U_ILLEGAL_ARGUMENT_ERROR)
     Backtrace:
     1. quanteda:::add_summary_metadata(corp)
     19. base::.handleSimpleError(...)
     20. base:::h(simpleError(msg, call))
    
     ── 3. Error: adding extended summary information works (@test-meta.R#181) ─────
     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': Start of codes indicating failure. (U_ILLEGAL_ARGUMENT_ERROR)
     Backtrace:
     1. quanteda:::add_summary_metadata(corp, extended = TRUE)
     19. base::.handleSimpleError(...)
     20. base:::h(simpleError(msg, call))
    
     ── 4. Failure: test nsentence (@test-nfunctions.R#6) ──────────────────────────
     nsentence(txt) not identical to c(doc1 = 2L, doc2 = 2L).
     1/2 mismatches
     [1] 4 - 2 == 2
    
     ── 5. Failure: test nsentence (@test-nfunctions.R#7) ──────────────────────────
     nsentence(corpus(txt)) not identical to c(doc1 = 2L, doc2 = 2L).
     1/2 mismatches
     [1] 4 - 2 == 2
    
     ── 6. Failure: test nsentence (@test-nfunctions.R#8) ──────────────────────────
     nsentence(tokens(txt, what = "sentence")) not identical to c(doc1 = 2L, doc2 = 2L).
     1/2 mismatches
     [1] 4 - 2 == 2
    
     ── 7. Error: textstat_summary method works (@test-textstat_summary.R#11) ──────
     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': Start of codes indicating failure. (U_ILLEGAL_ARGUMENT_ERROR)
     Backtrace:
     1. quanteda::textstat_summary(corp, cache = FALSE)
     15. base::.handleSimpleError(...)
     16. base:::h(simpleError(msg, call))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 3019 | SKIPPED: 26 | WARNINGS: 17 | FAILED: 7 ]
     1. Error: corpus_segment works with blank before tag (@test-corpus_segment.R#55)
     2. Error: adding summary info works (@test-meta.R#126)
     3. Error: adding extended summary information works (@test-meta.R#181)
     4. Failure: test nsentence (@test-nfunctions.R#6)
     5. Failure: test nsentence (@test-nfunctions.R#7)
     6. Failure: test nsentence (@test-nfunctions.R#8)
     7. Error: textstat_summary method works (@test-textstat_summary.R#11)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 2.1.1
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.1
    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': Start of codes indicating failure. (U_ILLEGAL_ARGUMENT_ERROR)
    --- 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