CRAN Package Check Results for Package textmineR

Last updated on 2019-10-15 13:47:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.4 106.63 95.20 201.83 OK --no-vignettes
r-devel-linux-x86_64-debian-gcc 3.0.4 74.64 57.14 131.78 ERROR --no-vignettes
r-devel-linux-x86_64-fedora-clang 3.0.4 576.29 NOTE
r-devel-linux-x86_64-fedora-gcc 3.0.4 267.90 ERROR
r-devel-windows-ix86+x86_64 3.0.4 178.00 714.00 892.00 OK
r-patched-linux-x86_64 3.0.4 75.78 95.15 170.93 OK --no-vignettes
r-patched-solaris-x86 3.0.4 687.20 OK
r-release-linux-x86_64 3.0.4 80.94 92.65 173.59 OK --no-vignettes
r-release-windows-ix86+x86_64 3.0.4 244.00 555.00 799.00 OK
r-release-osx-x86_64 3.0.4 NOTE
r-oldrel-windows-ix86+x86_64 3.0.4 164.00 500.00 664.00 OK
r-oldrel-osx-x86_64 3.0.4 OK

Check Details

Version: 3.0.4
Flags: --no-vignettes
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(textmineR)
     Loading required package: Matrix
    
     Attaching package: 'textmineR'
    
     The following object is masked from 'package:Matrix':
    
     update
    
     The following object is masked from 'package:stats':
    
     update
    
     >
     > test_check("textmineR")
     ── 1. Error: CreateDtm performs as expected (@test-corpus_functions.R#13) ─────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:13
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 2. Error: CreateTcm performs as expected (@test-corpus_functions.R#46) ─────
     not a function
     1: CreateTcm(doc_vec = docs, skipgram_window = 3, stopword_vec = "the", lower = TRUE,
     remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:46
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 3. Error: Dtm2Docs (@test-corpus_functions.R#72) ───────────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 1), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:72
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 4. Error: Dtm2Tcm (@test-corpus_functions.R#103) ───────────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:103
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 5. Error: TermDocFreq (@test-corpus_functions.R#125) ───────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:125
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 6. Error: (unknown) (@test-topic_modeling_core.R#8) ────────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-topic_modeling_core.R:8
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 7. Error: (unknown) (@test-topic_modeling_utilities.R#7) ───────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-topic_modeling_utilities.R:7
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: CreateDtm performs as expected (@test-corpus_functions.R#13)
     2. Error: CreateTcm performs as expected (@test-corpus_functions.R#46)
     3. Error: Dtm2Docs (@test-corpus_functions.R#72)
     4. Error: Dtm2Tcm (@test-corpus_functions.R#103)
     5. Error: TermDocFreq (@test-corpus_functions.R#125)
     6. Error: (unknown) (@test-topic_modeling_core.R#8)
     7. Error: (unknown) (@test-topic_modeling_utilities.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.0.4
Check: installed package size
Result: NOTE
     installed size is 5.4Mb
     sub-directories of 1Mb or more:
     libs 3.6Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64

Version: 3.0.4
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(textmineR)
     Loading required package: Matrix
    
     Attaching package: 'textmineR'
    
     The following object is masked from 'package:Matrix':
    
     update
    
     The following object is masked from 'package:stats':
    
     update
    
     >
     > test_check("textmineR")
     ── 1. Error: CreateDtm performs as expected (@test-corpus_functions.R#13) ─────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:13
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 2. Error: CreateTcm performs as expected (@test-corpus_functions.R#46) ─────
     not a function
     1: CreateTcm(doc_vec = docs, skipgram_window = 3, stopword_vec = "the", lower = TRUE,
     remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:46
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 3. Error: Dtm2Docs (@test-corpus_functions.R#72) ───────────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 1), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:72
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 4. Error: Dtm2Tcm (@test-corpus_functions.R#103) ───────────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:103
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 5. Error: TermDocFreq (@test-corpus_functions.R#125) ───────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-corpus_functions.R:125
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 6. Error: (unknown) (@test-topic_modeling_core.R#8) ────────────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-topic_modeling_core.R:8
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ── 7. Error: (unknown) (@test-topic_modeling_utilities.R#7) ───────────────────
     not a function
     1: CreateDtm(doc_vec = docs, doc_names = seq_along(docs), ngram_window = c(1, 2), stopword_vec = "the",
     lower = TRUE, remove_punctuation = TRUE, remove_numbers = TRUE, cpus = 2) at testthat/test-topic_modeling_utilities.R:7
     2: text2vec::create_vocabulary(it = it, ngram = ngram_window)
     3: create_vocabulary.itoken(it = it, ngram = ngram_window)
     4: it$clone(deep = TRUE)
     5: copy_slice(old[[i]], new[[i]], old_new_enclosing_pairs[seq.int(i, length(old))],
     (i == 1))
     6: makeActiveBinding(name, active_copies[[name]], new_slice$binding)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: CreateDtm performs as expected (@test-corpus_functions.R#13)
     2. Error: CreateTcm performs as expected (@test-corpus_functions.R#46)
     3. Error: Dtm2Docs (@test-corpus_functions.R#72)
     4. Error: Dtm2Tcm (@test-corpus_functions.R#103)
     5. Error: TermDocFreq (@test-corpus_functions.R#125)
     6. Error: (unknown) (@test-topic_modeling_core.R#8)
     7. Error: (unknown) (@test-topic_modeling_utilities.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 3.0.4
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘a_start_here.Rmd’ using rmarkdown
    Quitting from lines 55-81 (a_start_here.Rmd)
    Error: processing vignette 'a_start_here.Rmd' failed with diagnostics:
    not a function
    --- failed re-building ‘a_start_here.Rmd’
    
    --- re-building ‘b_document_clustering.Rmd’ using rmarkdown
    Quitting from lines 26-46 (b_document_clustering.Rmd)
    Error: processing vignette 'b_document_clustering.Rmd' failed with diagnostics:
    not a function
    --- failed re-building ‘b_document_clustering.Rmd’
    
    --- re-building ‘c_topic_modeling.Rmd’ using rmarkdown
    Quitting from lines 29-50 (c_topic_modeling.Rmd)
    Error: processing vignette 'c_topic_modeling.Rmd' failed with diagnostics:
    not a function
    --- failed re-building ‘c_topic_modeling.Rmd’
    
    --- re-building ‘d_text_embeddings.Rmd’ using rmarkdown
    Quitting from lines 34-50 (d_text_embeddings.Rmd)
    Error: processing vignette 'd_text_embeddings.Rmd' failed with diagnostics:
    not a function
    --- failed re-building ‘d_text_embeddings.Rmd’
    
    --- re-building ‘e_doc_summarization.Rmd’ using rmarkdown
    Quitting from lines 32-69 (e_doc_summarization.Rmd)
    Error: processing vignette 'e_doc_summarization.Rmd' failed with diagnostics:
    not a function
    --- failed re-building ‘e_doc_summarization.Rmd’
    
    --- re-building ‘f_tidytext_example.Rmd’ using rmarkdown
    --- finished re-building ‘f_tidytext_example.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘a_start_here.Rmd’ ‘b_document_clustering.Rmd’ ‘c_topic_modeling.Rmd’
     ‘d_text_embeddings.Rmd’ ‘e_doc_summarization.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc