Running examples in 'textmining-Ex.R' failed
The error occurred in:


R Under development (unstable) (2018-11-08 r75566) -- "Unsuffered Consequences"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> pkgname <- "textmining"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> options(pager = "console")
> library('textmining')
Loading required package: stylo

### stylo version: 0.6.8 ###

If you plan to cite this software (please do!), use the following reference:
    Eder, M., Rybicki, J. and Kestemont, M. (2016). Stylometry with R:
    a package for computational text analysis. R Journal 8(1): 107-121.
    <https://journal.r-project.org/archive/2016/RJ-2016-007/index.html>

To get full BibTeX entry, type: citation("stylo")
Loading required package: tm
Loading required package: NLP
Loading required package: caret
Loading required package: lattice
Loading required package: ggplot2

Attaching package: 'ggplot2'

The following object is masked from 'package:NLP':

    annotate

Warning: namespace 'Biobase' is not available and has been replaced
by .GlobalEnv when processing object ''
Warning: namespace 'Biobase' is not available and has been replaced
by .GlobalEnv when processing object ''
Warning: namespace 'Biobase' is not available and has been replaced
by .GlobalEnv when processing object ''
Warning: namespace 'Biobase' is not available and has been replaced
by .GlobalEnv when processing object ''
Warning: namespace 'Biobase' is not available and has been replaced
by .GlobalEnv when processing object ''
Warning: namespace 'Biobase' is not available and has been replaced
by .GlobalEnv when processing object ''
Error: package or namespace load failed for 'caret':
 Function found when exporting methods from the namespace 'dimRed' which is not S4 generic: 'nrow'
Error: package 'caret' could not be loaded
Execution halted