CRAN Package Check Results for Package text2vec

Last updated on 2023-01-25 04:51:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.3 76.24 302.47 378.71 OK
r-devel-linux-x86_64-debian-gcc 0.6.3 61.40 257.29 318.69 OK
r-devel-linux-x86_64-fedora-clang 0.6.3 473.24 NOTE
r-devel-linux-x86_64-fedora-gcc 0.6.3 471.36 OK
r-patched-linux-x86_64 0.6.3 69.47 289.59 359.06 OK
r-release-linux-x86_64 0.6.3 69.48 289.93 359.41 OK
r-release-macos-arm64 0.6.3 122.00 NOTE
r-release-macos-x86_64 0.6.3 156.00 NOTE
r-release-windows-x86_64 0.6.3 84.00 386.00 470.00 NOTE
r-oldrel-macos-arm64 0.6.3 89.00 ERROR
r-oldrel-macos-x86_64 0.6.3 146.00 ERROR
r-oldrel-windows-ix86+x86_64 0.6.3 154.00 562.00 716.00 NOTE

Check Details

Version: 0.6.3
Check: installed package size
Result: NOTE
     installed size is 6.8Mb
     sub-directories of 1Mb or more:
     data 2.7Mb
     doc 3.1Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.6.3
Check: dependencies in R code
Result: WARN
    Missing or unexported object: ‘Matrix::rowScale’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.6.3
Check: examples
Result: ERROR
    Running examples in ‘text2vec-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: BNS
    > ### Title: BNS
    > ### Aliases: BNS
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > data("movie_review")
    > N = 1000
    > it = itoken(head(movie_review$review, N), preprocessor = tolower, tokenizer = word_tokenizer)
    > vocab = create_vocabulary(it)
    > dtm = create_dtm(it, vocab_vectorizer(vocab))
    as(<dgTMatrix>, "dgCMatrix") is deprecated since Matrix 1.5-0; do as(., "CsparseMatrix") instead
    > model_bns = BNS$new()
    > dtm_bns = model_bns$fit_transform(dtm, head(movie_review$sentiment, N))
    Error: 'colScale' is not an exported object from 'namespace:Matrix'
    Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.6.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [19s/19s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     7. │ └─text2vec::normalize(x_internal, private$norm)
     8. └─base::.handleSimpleError(...)
     9. └─base (local) h(simpleError(msg, call))
     ── Error ('test-s3-interface.R:41'): S3 bns ────────────────────────────────────
     Error: 'colScale' is not an exported object from 'namespace:Matrix'
     Backtrace:
     ▆
     1. ├─mlapi::fit_transform(dtm, bns, y) at test-s3-interface.R:41:2
     2. └─mlapi:::fit_transform.Matrix(dtm, bns, y)
     3. └─model$fit_transform(x, y = y, ...)
     4. └─self$transform(x, ...)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 80 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-arm64

Version: 0.6.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘files-multicore.Rmd’ using rmarkdown
    [WARNING] This document format requires a nonempty <title> element.
     Defaulting to 'files-multicore.knit' as the title.
     To specify a title, use 'title' in metadata or --metadata title="...".
    --- finished re-building ‘files-multicore.Rmd’
    
    --- re-building ‘glove.Rmd’ using rmarkdown
    --- finished re-building ‘glove.Rmd’
    
    --- re-building ‘text-vectorization.Rmd’ using rmarkdown
    Quitting from lines 280-281 (text-vectorization.Rmd)
    Error: processing vignette 'text-vectorization.Rmd' failed with diagnostics:
    'rowScale' is not an exported object from 'namespace:Matrix'
    --- failed re-building ‘text-vectorization.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘text-vectorization.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.6.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [27s/26s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     7. │ └─text2vec::normalize(x_internal, private$norm)
     8. └─base::.handleSimpleError(...)
     9. └─base (local) h(simpleError(msg, call))
     ── Error ('test-s3-interface.R:41'): S3 bns ────────────────────────────────────
     Error: 'colScale' is not an exported object from 'namespace:Matrix'
     Backtrace:
     ▆
     1. ├─mlapi::fit_transform(dtm, bns, y) at test-s3-interface.R:41:2
     2. └─mlapi:::fit_transform.Matrix(dtm, bns, y)
     3. └─model$fit_transform(x, y = y, ...)
     4. └─self$transform(x, ...)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 80 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64