Running examples in ‘quanteda.textplots-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: textplot_network
> ### Title: Plot a network of feature co-occurrences
> ### Aliases: textplot_network as.network.fcm as.igraph.fcm
> ### Keywords: textplot
> 
> ### ** Examples
> 
> set.seed(100)
> library("quanteda")
Package version: 3.3.1
Unicode version: 15.0
ICU version: 72.1
Parallel computing: 3 of 32 threads used.
See https://quanteda.io for tutorials and examples.
> toks <- data_char_ukimmig2010 %>%
+     tokens(remove_punct = TRUE) %>%
+     tokens_tolower() %>%
+     tokens_remove(pattern = stopwords("english"), padding = FALSE)
> fcmat <- fcm(toks, context = "window", tri = FALSE)
> feat <- names(topfeatures(fcmat, 30))
> fcm_select(fcmat, pattern = feat) %>%
+     textplot_network(min_freq = 0.5)
> fcm_select(fcmat, pattern = feat) %>%
+     textplot_network(min_freq = 0.8)
> fcm_select(fcmat, pattern = feat) %>%
+     textplot_network(min_freq = 0.8, vertex_labelcolor = rep(c('gray40', NA), 15))
> fcm_select(fcmat, pattern = feat) %>%
+     textplot_network(vertex_labelsize = 10)
> fcm_30 <- fcm_select(fcmat, pattern = feat)
> textplot_network(fcm_30,
+                  vertex_labelsize = Matrix::rowSums(fcm_30) / min(Matrix::rowSums(fcm_30)))
> # Vector inputs to vertex_labelsize can be scaled if too small / large
> textplot_network(fcm_30,
+                  vertex_labelsize = 1.5 * Matrix::rowSums(fcm_30) /
+                                     min(Matrix::rowSums(fcm_30)))
> 
> # as.igraph
> if (requireNamespace("igraph", quietly = TRUE)) {
+     txt <- c("a a a b b c", "a a c e", "a c e f g")
+     mat <- fcm(txt)
+     as.igraph(mat, min_freq = 1, omit_isolated = FALSE)
+ }
Warning: 'fcm.character()' is deprecated. Use 'tokens()' or 'dfm()' first.
Warning: 'fcm.corpus()' is deprecated. Use 'tokens()' or 'dfm()' first.
Error: 'crossprod' is not an exported object from 'namespace:Matrix'
Execution halted