Last updated on 2025-12-20 08:49:22 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| TextForecast | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 0.1.3
Check: examples
Result: ERROR
Running examples in ‘TextForecast-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_collocations
> ### Title: get_collocations function
> ### Aliases: get_collocations
>
> ### ** Examples
>
> path_name=system.file("news",package="TextForecast")
> days=c("2019-30-01","2019-31-01")
> z_coll=get_collocations(corpus_dates=days[1],path_name=path_name,
+ ntrms=500,ngrams_number=3,min_freq=1)
Downloading udpipe model from https://raw.githubusercontent.com/jwijffels/udpipe.models.ud.2.5/master/inst/udpipe-ud-2.5-191206/english-ewt-ud-2.5-191206.udpipe to /tmp/RtmpMq1hTC/english-ewt-ud-2.5-191206.udpipe
- This model has been trained on version 2.5 of data from https://universaldependencies.org
- The model is distributed under the CC-BY-SA-NC license: https://creativecommons.org/licenses/by-nc-sa/4.0
- Visit https://github.com/jwijffels/udpipe.models.ud.2.5 for model license details.
- For a list of all models and their licenses (most models you can download with this package have either a CC-BY-SA or a CC-BY-SA-NC license) read the documentation at ?udpipe_download_model. For building your own models: visit the documentation by typing vignette('udpipe-train', package = 'udpipe')
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
Downloading finished, model stored at '/tmp/RtmpMq1hTC/english-ewt-ud-2.5-191206.udpipe'
Error in `[.data.table`(out, , `:=`(paragraph_id, cumsum(is_newparagraph)), :
attempt access index 5/5 in VECTOR_ELT
Calls: get_collocations ... as.data.frame.udpipe_connlu -> read_connlu -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.3
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘doParallel’ ‘forecast’ ‘parallel’ ‘tidyr’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc