- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘textplot/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘textplot’ version ‘0.2.2’
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘ggalt’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘textplot’ can be installed ... [11s/17s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [16s/25s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... NOTE
Unknown package ‘ggalt’ in Rd xrefs
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... ERROR
Running examples in ‘textplot-Ex.R’ failed
The error most likely occurred in:
> ### Name: plot.BTM
> ### Title: Plot function for a BTM object
> ### Aliases: plot.BTM
>
> ### ** Examples
>
> ## Don't show:
> if(require(igraph) && require(BTM) && require(ggraph) &&
+ require(ggforce) && require(concaveman) &&
+ require(data.table) && require(udpipe))
+ {
+ ## End(Don't show)
+ library(igraph)
+ library(BTM)
+ library(ggraph)
+ library(ggforce)
+ library(concaveman)
+ data(example_btm, package = 'textplot')
+
+ model <- example_btm
+
+ topiclabels <- c("Garbage",
+ "Data Mining", "Gradient descent", "API's",
+ "Random Forests", "Stat models", "Text Mining / NLP",
+ "GLM / GAM / Bayesian", "Machine learning", "Variable selection",
+ "Regularisation techniques", "Optimisation", "Fuzzy logic",
+ "Classification/Regression trees", "Text frequencies",
+ "Neural / Deep learning", "Variable selection",
+ "Text file handling", "Text matching", "Topic modelling")
+ plot(model, title = "Biterm topic model", subtitle = "some topics",
+ top_n = 7,
+ which = c(3, 4, 5, 6, 7, 9, 12, 16, 20),
+ labels = topiclabels)
+
+
+ ## Don't show:
+ }
Loading required package: igraph
Attaching package: ‘igraph’
The following objects are masked from ‘package:stats’:
decompose, spectrum
The following object is masked from ‘package:base’:
union
Loading required package: BTM
Loading required package: ggraph
Loading required package: ggplot2
Loading required package: ggforce
Loading required package: concaveman
Loading required package: data.table
Attaching package: ‘data.table’
The following object is masked from ‘package:base’:
%notin%
Loading required package: udpipe
Error in `[.data.table`(biterms, , `:=`(topic_freq, .N), by = list(term1, :
attempt access index 3/3 in VECTOR_ELT
Calls: plot ... textplot_bitermclusters.default -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [24s/41s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘textplot-examples.Rnw’ using knitr
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
trying URL 'https://raw.githubusercontent.com/jwijffels/udpipe.models.ud.2.5/master/inst/udpipe-ud-2.5-191206/english-ewt-ud-2.5-191206.udpipe'
Content type 'application/octet-stream' length 16309608 bytes (15.6 MB)
==================================================
downloaded 15.6 MB
Quitting from textplot-examples.Rnw:52-62 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 5/5 in VECTOR_ELT
---
Backtrace:
x
1. +-udpipe::udpipe(...)
2. \-udpipe:::udpipe.character(...)
3. +-base::as.data.frame(x, detailed = TRUE)
4. \-udpipe:::as.data.frame.udpipe_connlu(x, detailed = TRUE)
5. \-udpipe:::read_connlu(x, is_udpipe_annotation = TRUE, ...)
6. +-out[, `:=`(paragraph_id, cumsum(is_newparagraph)), by = list(doc_id)]
7. \-data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'textplot-examples.Rnw' failed with diagnostics:
attempt access index 5/5 in VECTOR_ELT
--- failed re-building ‘textplot-examples.Rnw’
SUMMARY: processing the following file failed:
‘textplot-examples.Rnw’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [7s/11s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE