CRAN Package Check Results for Package quanteda

Last updated on 2020-02-27 11:48:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.2 343.64 442.07 785.71 ERROR
r-devel-linux-x86_64-debian-gcc 1.5.2 261.52 330.74 592.26 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.0 891.14 NOTE
r-devel-linux-x86_64-fedora-gcc 2.0.0 867.92 NOTE
r-devel-windows-ix86+x86_64 2.0.0 653.00 823.00 1476.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 1.5.2 663.00 717.00 1380.00 NOTE
r-patched-linux-x86_64 1.5.2 289.29 400.09 689.38 WARN
r-patched-solaris-x86 2.0.0 1113.50 WARN
r-release-linux-x86_64 2.0.0 234.29 347.91 582.20 OK
r-release-windows-ix86+x86_64 1.5.2 600.00 671.00 1271.00 NOTE
r-release-osx-x86_64 1.5.2 NOTE
r-oldrel-windows-ix86+x86_64 1.5.2 541.00 609.00 1150.00 NOTE
r-oldrel-osx-x86_64 1.5.2 NOTE

Additional issues

gcc10 gcc10 noLD

Check Details

Version: 1.5.2
Check: Rd \usage sections
Result: WARN
    Documented arguments not in \usage in documentation object 'dfm_compress':
     '...'
    
    Documented arguments not in \usage in documentation object 'docfreq':
     '...'
    
    Functions with \usage entries need to have the appropriate \alias
    entries, and all their arguments documented.
    The \usage entries must correspond to syntactically valid R code.
    See chapter 'Writing R documentation files' in the 'Writing R
    Extensions' manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.5.2
Check: tests
Result: ERROR
     Running 'spelling.R' [0s/1s]
     Running 'testthat.R' [194s/194s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > Sys.setenv("R_TESTS" = "")
     >
     > library(testthat)
     > library(quanteda)
     Package version: 1.5.2
     Parallel computing: 2 of 32 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. Failure: test lsa converter (@test-convert.R#108) -----------------------
     `lsamat` not equivalent to `lsamat2`.
     Mean relative difference: 2
    
     -- 2. Failure: corpus_reshape works for sentences (@test-corpus_reshape.R#10) -
     docvars(mycorpus_reshaped, "country") not equal to factor(c("UK", "UK", "UK", "USA", "USA")).
     Types not compatible: character is not integer
    
     -- 3. Failure: corpus constructor works on v2 corpus (@test-future.R#36) ------
     suppressWarnings(docvars(corpus(corpv2))) not identical to data.frame(...).
     Component "letter_factor": 'current' is not a factor
    
     -- 4. Failure: corpus constructor works on v2 corpus (@test-future.R#44) ------
     suppressWarnings(...) not identical to data.frame(...).
     Component "letter_factor": 'current' is not a factor
    
     -- 5. Failure: tokens_segment works for sentences (@test-tokens_segment.R#19) -
     docvars(mytoks_sent, "title") not equal to as.factor(c("doc1", "doc1", "doc1", "doc2", "doc2")).
     Types not compatible: character is not integer
    
     -- 6. Failure: tokens_segment works for delimiter (@test-tokens_segment.R#44) -
     docvars(mytoks_sent, "title") not equal to as.factor(c("doc1", "doc1", "doc1", "doc2", "doc2")).
     Types not compatible: character is not integer
    
     -- 7. Failure: tokens_segment works for delimiter with extract_pattern = TRUE (@
     docvars(mytoks_sent, "title") not equal to as.factor(c("doc1", "doc1", "doc1", "doc2", "doc2")).
     Types not compatible: character is not integer
    
     == testthat results ===========================================================
     [ OK: 2955 | SKIPPED: 22 | WARNINGS: 140 | FAILED: 7 ]
     1. Failure: test lsa converter (@test-convert.R#108)
     2. Failure: corpus_reshape works for sentences (@test-corpus_reshape.R#10)
     3. Failure: corpus constructor works on v2 corpus (@test-future.R#36)
     4. Failure: corpus constructor works on v2 corpus (@test-future.R#44)
     5. Failure: tokens_segment works for sentences (@test-tokens_segment.R#19)
     6. Failure: tokens_segment works for delimiter (@test-tokens_segment.R#44)
     7. Failure: tokens_segment works for delimiter with extract_pattern = TRUE (@test-tokens_segment.R#69)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     unable to translate '<U+5B57>' to native encoding
     2: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     unable to translate '<U+98DB><U+6A5F>' to native encoding
     3: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     unable to translate '<U+6587><U+66F8><U+FF11>' to native encoding
     4: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     unable to translate '<U+6587><U+66F8><U+FF12>' to native encoding
     5: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     unable to translate '<U+6587><U+66F8><U+FF11>' to native encoding
     6: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     unable to translate '<U+6587><U+66F8><U+FF12>' to native encoding
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.5.2
Check: tests
Result: ERROR
     Running ‘spelling.R’ [0s/1s]
     Running ‘testthat.R’ [145s/193s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > Sys.setenv("R_TESTS" = "")
     >
     > library(testthat)
     > library(quanteda)
     Package version: 1.5.2
     Parallel computing: 2 of 32 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. Failure: test lsa converter (@test-convert.R#108) ───────────────────────
     `lsamat` not equivalent to `lsamat2`.
     Mean relative difference: 2
    
     ── 2. Failure: corpus_reshape works for sentences (@test-corpus_reshape.R#10) ─
     docvars(mycorpus_reshaped, "country") not equal to factor(c("UK", "UK", "UK", "USA", "USA")).
     Types not compatible: character is not integer
    
     ── 3. Failure: corpus constructor works on v2 corpus (@test-future.R#36) ──────
     suppressWarnings(docvars(corpus(corpv2))) not identical to data.frame(...).
     Component "letter_factor": 'current' is not a factor
    
     ── 4. Failure: corpus constructor works on v2 corpus (@test-future.R#44) ──────
     suppressWarnings(...) not identical to data.frame(...).
     Component "letter_factor": 'current' is not a factor
    
     ── 5. Failure: tokens_segment works for sentences (@test-tokens_segment.R#19) ─
     docvars(mytoks_sent, "title") not equal to as.factor(c("doc1", "doc1", "doc1", "doc2", "doc2")).
     Types not compatible: character is not integer
    
     ── 6. Failure: tokens_segment works for delimiter (@test-tokens_segment.R#44) ─
     docvars(mytoks_sent, "title") not equal to as.factor(c("doc1", "doc1", "doc1", "doc2", "doc2")).
     Types not compatible: character is not integer
    
     ── 7. Failure: tokens_segment works for delimiter with extract_pattern = TRUE (@
     docvars(mytoks_sent, "title") not equal to as.factor(c("doc1", "doc1", "doc1", "doc2", "doc2")).
     Types not compatible: character is not integer
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 2955 | SKIPPED: 22 | WARNINGS: 140 | FAILED: 7 ]
     1. Failure: test lsa converter (@test-convert.R#108)
     2. Failure: corpus_reshape works for sentences (@test-corpus_reshape.R#10)
     3. Failure: corpus constructor works on v2 corpus (@test-future.R#36)
     4. Failure: corpus constructor works on v2 corpus (@test-future.R#44)
     5. Failure: tokens_segment works for sentences (@test-tokens_segment.R#19)
     6. Failure: tokens_segment works for delimiter (@test-tokens_segment.R#44)
     7. Failure: tokens_segment works for delimiter with extract_pattern = TRUE (@test-tokens_segment.R#69)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: installed package size
Result: NOTE
     installed size is 16.3Mb
     sub-directories of 1Mb or more:
     R 1.0Mb
     data 1.3Mb
     libs 12.7Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64

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

Version: 1.5.2
Check: installed package size
Result: NOTE
     installed size is 7.4Mb
     sub-directories of 1Mb or more:
     R 1.2Mb
     data 1.3Mb
     libs 3.6Mb
Flavors: r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 2.0.0
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
Flavor: r-patched-solaris-x86

Version: 1.5.2
Check: data for non-ASCII characters
Result: NOTE
     Note: found 71 marked UTF-8 strings
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64