- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘conversim/DESCRIPTION’ ... OK
- this is package ‘conversim’ version ‘0.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- 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 ‘conversim’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [5s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the package can be unloaded cleanly ... [4s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/6s] OK
- checking loading without being on the library search path ... [4s/7s] 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 ... [23s/30s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [11s/14s] ERROR
Running examples in ‘conversim-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: sent_sim_seq
> ### Title: Calculate sentiment similarity sequence for a single dyad
> ### Aliases: sent_sim_seq
>
> ### ** Examples
>
> conversation <- data.frame(
+ processed_text = c("I love this movie!", "It's really amazing.",
+ "The acting is superb.", "I couldn't agree more.")
+ )
> result <- sent_sim_seq(conversation, window_size = 2)
Error in `[.data.table`(dat, , `:=`(indx, wc < 1), by = c("id", "sentences", :
attempt access index 3/3 in VECTOR_ELT
Calls: sent_sim_seq ... similarity_func -> sentiment_by -> sentiment_by.character
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/12s] ERROR
Running ‘testthat.R’ [9s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(conversim)
>
> test_check("conversim")
boundary (singular) fit: see help('isSingular')
Saving _problems/test-conversation_multidyads-77.R
Loading required package: NLP
Attaching package: 'NLP'
The following object is masked from 'package:ggplot2':
annotate
Saving _problems/test-conversation_sequence-73.R
Loading required package: SnowballC
Saving _problems/test-main_functions-81.R
Saving _problems/test-main_functions_utilities-36.R
Saving _problems/test-main_functions_utilities-54.R
Saving _problems/test-main_functions_utilities-70.R
[ FAIL 6 | WARN 11 | SKIP 0 | PASS 141 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-conversation_multidyads.R:77:3'): sentiment_sim_dyads works correctly ──
Error in ``[.data.table`(dat, , `:=`(indx, wc < 1), by = c("id", "sentences", "wc"))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─conversim::sentiment_sim_dyads(preprocessed, window_size = 2) at test-conversation_multidyads.R:77:3
2. └─conversim::sentiment_similarity(window1, window2)
3. ├─sentimentr::sentiment_by(conv1)
4. └─sentimentr:::sentiment_by.character(conv1)
5. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
6. │ └─base::withCallingHandlers(...)
7. ├─sentimentr::sentiment(text.var = text.var, ...)
8. └─sentimentr:::sentiment.character(text.var = text.var, ...)
9. ├─sentimentr::sentiment(...)
10. └─sentimentr:::sentiment.get_sentences_character(...)
11. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
12. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
13. └─data.table:::`[.data.table`(...)
── Error ('test-conversation_sequence.R:73:3'): sent_sim_seq works correctly ───
Error in ``[.data.table`(dat, , `:=`(indx, wc < 1), by = c("id", "sentences", "wc"))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─conversim::sent_sim_seq(sample_conversation, window_size = 3) at test-conversation_sequence.R:73:3
2. └─conversim::calc_sim_seq(conversation, window_size, conversim::sentiment_similarity)
3. └─conversim (local) similarity_func(window1, window2)
4. ├─sentimentr::sentiment_by(conv1)
5. └─sentimentr:::sentiment_by.character(conv1)
6. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
7. │ └─base::withCallingHandlers(...)
8. ├─sentimentr::sentiment(text.var = text.var, ...)
9. └─sentimentr:::sentiment.character(text.var = text.var, ...)
10. ├─sentimentr::sentiment(...)
11. └─sentimentr:::sentiment.get_sentences_character(...)
12. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
13. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
14. └─data.table:::`[.data.table`(...)
── Error ('test-main_functions.R:81:3'): sentiment_similarity works correctly ──
Error in ``[.data.table`(dat, , `:=`(indx, wc < 1), by = c("id", "sentences", "wc"))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─conversim::sentiment_similarity(conv1, conv2) at test-main_functions.R:81:3
2. ├─sentimentr::sentiment_by(conv1)
3. └─sentimentr:::sentiment_by.character(conv1)
4. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
5. │ └─base::withCallingHandlers(...)
6. ├─sentimentr::sentiment(text.var = text.var, ...)
7. └─sentimentr:::sentiment.character(text.var = text.var, ...)
8. ├─sentimentr::sentiment(...)
9. └─sentimentr:::sentiment.get_sentences_character(...)
10. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
11. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
12. └─data.table:::`[.data.table`(...)
── Error ('test-main_functions_utilities.R:36:3'): gen_sim_report generates a valid report ──
Error in ``[.data.table`(dat, , `:=`(indx, wc < 1), by = c("id", "sentences", "wc"))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─conversim::gen_sim_report(speech1, speech2) at test-main_functions_utilities.R:36:3
2. └─conversim::sentiment_similarity(speech1, speech2)
3. ├─sentimentr::sentiment_by(conv1)
4. └─sentimentr:::sentiment_by.character(conv1)
5. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
6. │ └─base::withCallingHandlers(...)
7. ├─sentimentr::sentiment(text.var = text.var, ...)
8. └─sentimentr:::sentiment.character(text.var = text.var, ...)
9. ├─sentimentr::sentiment(...)
10. └─sentimentr:::sentiment.get_sentences_character(...)
11. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
12. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
13. └─data.table:::`[.data.table`(...)
── Error ('test-main_functions_utilities.R:54:3'): print_sim_report works without errors ──
Error in ``[.data.table`(dat, , `:=`(indx, wc < 1), by = c("id", "sentences", "wc"))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─conversim::gen_sim_report(speech1, speech2) at test-main_functions_utilities.R:54:3
2. └─conversim::sentiment_similarity(speech1, speech2)
3. ├─sentimentr::sentiment_by(conv1)
4. └─sentimentr:::sentiment_by.character(conv1)
5. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
6. │ └─base::withCallingHandlers(...)
7. ├─sentimentr::sentiment(text.var = text.var, ...)
8. └─sentimentr:::sentiment.character(text.var = text.var, ...)
9. ├─sentimentr::sentiment(...)
10. └─sentimentr:::sentiment.get_sentences_character(...)
11. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
12. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
13. └─data.table:::`[.data.table`(...)
── Error ('test-main_functions_utilities.R:70:3'): print_sim_report prints all similarity scores ──
Error in ``[.data.table`(dat, , `:=`(indx, wc < 1), by = c("id", "sentences", "wc"))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─conversim::gen_sim_report(speech1, speech2) at test-main_functions_utilities.R:70:3
2. └─conversim::sentiment_similarity(speech1, speech2)
3. ├─sentimentr::sentiment_by(conv1)
4. └─sentimentr:::sentiment_by.character(conv1)
5. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
6. │ └─base::withCallingHandlers(...)
7. ├─sentimentr::sentiment(text.var = text.var, ...)
8. └─sentimentr:::sentiment.character(text.var = text.var, ...)
9. ├─sentimentr::sentiment(...)
10. └─sentimentr:::sentiment.get_sentences_character(...)
11. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
12. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
13. └─data.table:::`[.data.table`(...)
[ FAIL 6 | WARN 11 | SKIP 0 | PASS 141 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [38s/50s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Analyzing_Similarities_between_Two_Long_Speeches.Rmd’ using rmarkdown
Quitting from Analyzing_Similarities_between_Two_Long_Speeches.Rmd:339-343 [unnamed-chunk-14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 3/3 in VECTOR_ELT
---
Backtrace:
▆
1. └─global sentiment_similarity(speeches_data$text[1], speeches_data$text[2])
2. ├─sentimentr::sentiment_by(conv1)
3. └─sentimentr:::sentiment_by.character(conv1)
4. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
5. │ └─base::withCallingHandlers(...)
6. ├─sentimentr::sentiment(text.var = text.var, ...)
7. └─sentimentr:::sentiment.character(text.var = text.var, ...)
8. ├─sentimentr::sentiment(...)
9. └─sentimentr:::sentiment.get_sentences_character(...)
10. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
11. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
12. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Analyzing_Similarities_between_Two_Long_Speeches.Rmd' failed with diagnostics:
attempt access index 3/3 in VECTOR_ELT
--- failed re-building ‘Analyzing_Similarities_between_Two_Long_Speeches.Rmd’
--- re-building ‘Analyzing_Similarities_in_Conversational_Sequence_in_One_Dyad.Rmd’ using rmarkdown
Quitting from Analyzing_Similarities_in_Conversational_Sequence_in_One_Dyad.Rmd:378-391 [sentiment_similarity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 3/3 in VECTOR_ELT
---
Backtrace:
▆
1. └─global sent_sim_seq(conversation, window_size = 3)
2. └─global calc_sim_seq(conversation, window_size, conversim::sentiment_similarity)
3. └─conversim (local) similarity_func(window1, window2)
4. ├─sentimentr::sentiment_by(conv1)
5. └─sentimentr:::sentiment_by.character(conv1)
6. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
7. │ └─base::withCallingHandlers(...)
8. ├─sentimentr::sentiment(text.var = text.var, ...)
9. └─sentimentr:::sentiment.character(text.var = text.var, ...)
10. ├─sentimentr::sentiment(...)
11. └─sentimentr:::sentiment.get_sentences_character(...)
12. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
13. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
14. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Analyzing_Similarities_in_Conversational_Sequence_in_One_Dyad.Rmd' failed with diagnostics:
attempt access index 3/3 in VECTOR_ELT
--- failed re-building ‘Analyzing_Similarities_in_Conversational_Sequence_in_One_Dyad.Rmd’
--- re-building ‘Analyzing_Similarities_in_Conversational_Sequences_across_Multiple_Dyads.Rmd’ using rmarkdown
Quitting from Analyzing_Similarities_in_Conversational_Sequences_across_Multiple_Dyads.Rmd:466-468 [sentiment_similarity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 3/3 in VECTOR_ELT
---
Backtrace:
▆
1. └─global sentiment_sim_dyads(processed_convs, window_size = 3)
2. └─conversim::sentiment_similarity(window1, window2)
3. ├─sentimentr::sentiment_by(conv1)
4. └─sentimentr:::sentiment_by.character(conv1)
5. ├─base::suppressWarnings(sentiment(text.var = text.var, ...))
6. │ └─base::withCallingHandlers(...)
7. ├─sentimentr::sentiment(text.var = text.var, ...)
8. └─sentimentr:::sentiment.character(text.var = text.var, ...)
9. ├─sentimentr::sentiment(...)
10. └─sentimentr:::sentiment.get_sentences_character(...)
11. └─sentimentr:::make_sentence_df2(sents, retention_regex = retention_regex)
12. ├─dat[, `:=`(indx, wc < 1), by = c("id", "sentences", "wc")]
13. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Analyzing_Similarities_in_Conversational_Sequences_across_Multiple_Dyads.Rmd' failed with diagnostics:
attempt access index 3/3 in VECTOR_ELT
--- failed re-building ‘Analyzing_Similarities_in_Conversational_Sequences_across_Multiple_Dyads.Rmd’
--- re-building ‘utilities_functions.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘utilities_functions.Rmd’
SUMMARY: processing the following files failed:
‘Analyzing_Similarities_between_Two_Long_Speeches.Rmd’
‘Analyzing_Similarities_in_Conversational_Sequence_in_One_Dyad.Rmd’
‘Analyzing_Similarities_in_Conversational_Sequences_across_Multiple_Dyads.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs