Last updated on 2025-12-26 17:49:12 CET.
| Package | ERROR | OK |
|---|---|---|
| RTextTools | 4 | 9 |
Current CRAN status: ERROR: 4, OK: 9
Version: 1.4.3
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Loren Collingwood <loren.collingwood@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("Timothy", "P."),
family = "Jurka",
role = "aut"),
person(given = "Loren",
family = "Collingwood",
role = c("aut", "cre"),
email = "loren.collingwood@gmail.com"),
person(given = c("Amber", "E."),
family = "Boydstun",
role = "aut"),
person(given = "Emiliano",
family = "Grossman",
role = "aut"),
person(given = "Wouter",
family = "van Atteveldt",
role = "aut"))
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.4.3
Check: examples
Result: ERROR
Running examples in ‘RTextTools-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: create_analytics
> ### Title: creates an object of class analytics given classification
> ### results.
> ### Aliases: create_analytics
> ### Keywords: method
>
> ### ** Examples
>
> library(RTextTools)
> data(NYTimes)
> data <- NYTimes[sample(1:3100,size=100,replace=FALSE),]
> matrix <- create_matrix(cbind(data["Title"],data["Subject"]), language="english",
+ removeNumbers=TRUE, stemWords=FALSE, weighting=tm::weightTfIdf)
Warning in TermDocumentMatrix.SimpleCorpus(x, control) :
custom functions are ignored
Warning in TermDocumentMatrix.SimpleCorpus(x, control) :
custom tokenizer is ignored
> container <- create_container(matrix,data$Topic.Code,trainSize=1:75, testSize=76:100,
+ virgin=FALSE)
> models <- train_models(container, algorithms=c("RF","SVM"))
> results <- classify_models(container, models)
> analytics <- create_analytics(container, results)
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 't': cannot xtfrm data frames
Calls: create_analytics ... colnames -> is.data.frame -> t -> xtfrm -> xtfrm.data.frame
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.4.3
Check: compiled code
Result: NOTE
File ‘RTextTools/libs/RTextTools.so’:
Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
It is good practice to register native routines and to disable symbol
search.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.4.3
Check: examples
Result: ERROR
Running examples in ‘RTextTools-Ex.R’ failed
The error most likely occurred in:
> ### Name: create_analytics
> ### Title: creates an object of class analytics given classification
> ### results.
> ### Aliases: create_analytics
> ### Keywords: method
>
> ### ** Examples
>
> library(RTextTools)
> data(NYTimes)
> data <- NYTimes[sample(1:3100,size=100,replace=FALSE),]
> matrix <- create_matrix(cbind(data["Title"],data["Subject"]), language="english",
+ removeNumbers=TRUE, stemWords=FALSE, weighting=tm::weightTfIdf)
Warning in TermDocumentMatrix.SimpleCorpus(x, control) :
custom functions are ignored
Warning in TermDocumentMatrix.SimpleCorpus(x, control) :
custom tokenizer is ignored
> container <- create_container(matrix,data$Topic.Code,trainSize=1:75, testSize=76:100,
+ virgin=FALSE)
> models <- train_models(container, algorithms=c("RF","SVM"))
> results <- classify_models(container, models)
> analytics <- create_analytics(container, results)
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 't': cannot xtfrm data frames
Calls: create_analytics ... colnames -> is.data.frame -> t -> xtfrm -> xtfrm.data.frame
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc