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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: top2vec
> ### Title: Distributed Representations of Topics
> ### Aliases: top2vec
> 
> ### ** Examples
> 
> 
> ##
> ## Example on a small sample 
> ##  with unrealistic hyperparameter settings especially regarding dim / iter / n_epochs
> ##  in order to have a basic example finishing < 5 secs
> ##
> ## Don't show: 
> if(require(word2vec) && require(uwot) && require(dbscan)){
+ ## End(Don't show)
+ library(uwot)
+ library(dbscan)
+ library(word2vec)
+ data(be_parliament_2020, package = "doc2vec")
+ x        <- data.frame(doc_id = be_parliament_2020$doc_id,
+                        text   = be_parliament_2020$text_nl,
+                        stringsAsFactors = FALSE)
+ x        <- head(x, 1000)
+ x$text   <- txt_clean_word2vec(x$text)
+ x        <- subset(x, txt_count_words(text) < 1000)
+ d2v      <- paragraph2vec(x, type = "PV-DBOW", dim = 10, 
+                           lr = 0.05, iter = 0,
+                           window = 5, hs = TRUE, negative = 0,
+                           sample = 0.00001, min_count = 5)
+ emb      <- list(docs  = as.matrix(d2v, which = "docs"),
+                  words = as.matrix(d2v, which = "words"))
+ model    <- top2vec(emb, 
+                     data = x,
+                     control.dbscan = list(minPts = 50), 
+                     control.umap = list(n_neighbors = 15, n_components = 2, 
+                                         init = "spectral"), 
+                     umap = tumap, trace = TRUE)
+ info     <- summary(model, top_n = 7)
+ print(info, top_n = c(5, 2))
+ ## Don't show: 
+ } # End of main if statement running only if the required packages are installed
Loading required package: word2vec
Loading required package: uwot
Loading required package: Matrix
Loading required package: dbscan

Attaching package: ‘dbscan’

The following object is masked from ‘package:stats’:

    as.dendrogram

2023-03-20 20:36:18.199267 performing UMAP dimensionality reduction on the doc2vec embedding space
Error in FNN::get.knn(X, k) : DLL requires the use of native symbols
Calls: top2vec ... data2set -> x2set -> x2nn -> find_nn -> FNN_nn -> <Anonymous>
Execution halted