Last updated on 2025-12-19 14:50:35 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.1 | 61.78 | 225.18 | 286.96 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.1 | 41.60 | 157.91 | 199.51 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.0.1 | 140.00 | 347.77 | 487.77 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.1 | 118.00 | 219.48 | 337.48 | ERROR | |
| r-devel-windows-x86_64 | 1.0.1 | 77.00 | 218.00 | 295.00 | OK | |
| r-patched-linux-x86_64 | 1.0.1 | 63.71 | 197.59 | 261.30 | OK | |
| r-release-linux-x86_64 | 1.0.1 | 61.21 | 194.72 | 255.93 | OK | |
| r-release-macos-arm64 | 1.0.1 | OK | ||||
| r-release-macos-x86_64 | 1.0.1 | 40.00 | 168.00 | 208.00 | OK | |
| r-release-windows-x86_64 | 1.0.1 | 78.00 | 211.00 | 289.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.1 | NOTE | ||||
| r-oldrel-macos-x86_64 | 1.0.1 | 41.00 | 154.00 | 195.00 | NOTE | |
| r-oldrel-windows-x86_64 | 1.0.1 | 96.00 | 296.00 | 392.00 | NOTE |
Version: 1.0.1
Check: examples
Result: ERROR
Running examples in ‘sentometrics-Ex.R’ failed
The error most likely occurred in:
> ### Name: aggregate.sentiment
> ### Title: Aggregate textual sentiment across sentences, documents and time
> ### Aliases: aggregate.sentiment
>
> ### ** Examples
>
> set.seed(505)
>
> data("usnews", package = "sentometrics")
> data("list_lexicons", package = "sentometrics")
> data("list_valence_shifters", package = "sentometrics")
>
> # computation of sentiment
> corpus <- sento_corpus(corpusdf = usnews)
> corpusSample <- quanteda::corpus_sample(corpus, size = 500)
> l1 <- sento_lexicons(list_lexicons[c("LM_en", "HENRY_en")],
+ list_valence_shifters[["en"]])
> l2 <- sento_lexicons(list_lexicons[c("LM_en", "HENRY_en")],
+ list_valence_shifters[["en"]][, c("x", "t")])
> sent1 <- compute_sentiment(corpusSample, l1, how = "counts")
> sent2 <- compute_sentiment(corpusSample, l2, do.sentence = TRUE)
Error in `[.data.table`(dt, , `:=`("sentence_id", seq(.N)), by = id) :
attempt access index 6/6 in VECTOR_ELT
Calls: compute_sentiment ... compute_sentiment.sento_corpus -> compute_sentiment_lexicons -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [38s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
> library("testthat")
> library("sentometrics")
>
> test_check("sentometrics")
Saving _problems/test_aggregation-27.R
Saving _problems/test_attribution-23.R
This sento_measures object contains 24 textual sentiment time series with 7237 observations each (daily).
Following features are present: wsj wapo economy noneconomy
Following lexicons are used to calculate sentiment: HENRY_en LM_en
Following scheme is applied for aggregation within documents: counts
Following scheme is applied for aggregation across documents: proportional
Following schemes are applied for aggregation across time: linear exponential0.1 exponential0.6
Aggregate average statistics:
mean sd max min meanCorr
-0.02282 0.18258 0.73352 -1.18603 0.19341
A sento_measures object (24 textual sentiment time series, 7237 observations).
Saving _problems/test_modeling-22.R
Saving _problems/test_sentiment_computation-145.R
[ FAIL 4 | WARN 2 | SKIP 0 | PASS 121 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_aggregation.R:27:1'): (code run outside of `test_that()`) ──────
Error in ``[.data.table`(dt, , `:=`("sentence_id", seq(.N)), by = id)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. └─sentometrics::sento_measures(corpus, lex, ctr2) at test_aggregation.R:27:1
2. ├─sentometrics::compute_sentiment(...)
3. └─sentometrics:::compute_sentiment.sento_corpus(...)
4. └─sentometrics:::compute_sentiment_lexicons(...)
5. ├─dt[, `:=`("sentence_id", seq(.N)), by = id]
6. └─data.table:::`[.data.table`(...)
── Error ('test_attribution.R:23:1'): (code run outside of `test_that()`) ──────
Error in ``[.data.table`(s, , `:=`(w, word_count/sum(word_count, na.rm = TRUE)), by = eval(by))`: attempt access index 10/10 in VECTOR_ELT
Backtrace:
▆
1. └─sentometrics::sento_measures(corpus, lex, ctrA) at test_attribution.R:23:1
2. ├─stats::aggregate(sentiment, ctr)
3. └─sentometrics:::aggregate.sentiment(sentiment, ctr)
4. └─sentometrics:::aggregate_docs(x, by = by, how = howDocs, weightingParamDocs = weightingParamDocs)
5. └─sentometrics:::weights_across(...)
6. ├─s[, `:=`(w, word_count/sum(word_count, na.rm = TRUE)), by = eval(by)]
7. └─data.table:::`[.data.table`(...)
── Error ('test_modeling.R:22:1'): (code run outside of `test_that()`) ─────────
Error in ``[.data.table`(s, , `:=`(w, word_count/sum(word_count, na.rm = TRUE)), by = eval(by))`: attempt access index 10/10 in VECTOR_ELT
Backtrace:
▆
1. └─sentometrics::sento_measures(corpus, lex, ctrA) at test_modeling.R:22:1
2. ├─stats::aggregate(sentiment, ctr)
3. └─sentometrics:::aggregate.sentiment(sentiment, ctr)
4. └─sentometrics:::aggregate_docs(x, by = by, how = howDocs, weightingParamDocs = weightingParamDocs)
5. └─sentometrics:::weights_across(...)
6. ├─s[, `:=`(w, word_count/sum(word_count, na.rm = TRUE)), by = eval(by)]
7. └─data.table:::`[.data.table`(...)
── Error ('test_sentiment_computation.R:135:1'): (code run outside of `test_that()`) ──
Error in ``[.data.table`(dt, , `:=`("sentence_id", seq(.N)), by = id)`: attempt access index 1/1 in VECTOR_ELT
Backtrace:
▆
1. ├─sentometrics::compute_sentiment(...) at test_sentiment_computation.R:135:1
2. └─sentometrics:::compute_sentiment.character(...)
3. └─sentometrics:::compute_sentiment_lexicons(...)
4. ├─dt[, `:=`("sentence_id", seq(.N)), by = id]
5. └─data.table:::`[.data.table`(...)
[ FAIL 4 | WARN 2 | SKIP 0 | PASS 121 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.0.1
Check: installed package size
Result: NOTE
installed size is 7.7Mb
sub-directories of 1Mb or more:
data 2.3Mb
libs 4.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.0.1
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64