Last updated on 2025-12-28 07:50:20 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| text2sdg | 1 | 12 | |
| text2sdgData | 5 | 8 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.1.2
Check: tests
Result: ERROR
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(text2sdg)
>
> test_check("text2sdg")
Running ElsevierSaving _problems/test-detect_sdg_systems-24.R
[ FAIL 1 | WARN 0 | SKIP 15 | PASS 11 ]
══ Skipped tests (15) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-crosstab_sdg.R:3:3', 'test-crosstab_sdg.R:19:3',
'test-crosstab_sdg.R:26:3', 'test-crosstab_sdg.R:34:3',
'test-crosstab_sdg.R:42:3', 'test-crosstab_sdg.R:51:3',
'test-crosstab_sdg.R:60:3', 'test-crosstab_sdg.R:67:3',
'test-crosstab_sdg.R:75:3', 'test-detect_any.R:59:3',
'test-detect_any.R:83:3', 'test-detect_any.R:103:3',
'test-detect_sdg_systems.R:39:3', 'test-ensemble.R:15:3',
'test-ensemble.R:37:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-detect_sdg_systems.R:24:3'): detect_sdg_systems returns a tibble ──
Error in ``[.data.table`(ql, , `:=`(n, add_n(t)), by = "i")`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. ├─text2sdg::detect_sdg_systems(test_text, system = "Elsevier") at test-detect_sdg_systems.R:24:3
2. │ └─text2sdg:::detect_elsevier(corpus, sdgs)
3. │ └─text2sdg:::search_corpus(corpus, elsevier_queries$query)
4. │ ├─... %>% tibble::as_tibble()
5. │ └─corpustools::search_features(corpus, queries, ...)
6. │ └─corpustools:::get_dict_results(...)
7. │ └─corpustools:::dictionary_lookup(...)
8. │ └─corpustools:::dictionary_lookup_tokens(...)
9. │ └─corpustools:::dictionary_lookup_tokens2(...)
10. │ └─corpustools:::collapse_dict(...)
11. │ └─corpustools:::expand_wildcards(sn, feature_levels)
12. │ ├─ql[, `:=`(n, add_n(t)), by = "i"]
13. │ └─data.table:::`[.data.table`(ql, , `:=`(n, add_n(t)), by = "i")
14. └─tibble::as_tibble(.)
[ FAIL 1 | WARN 0 | SKIP 15 | PASS 11 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.1.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'text2sdg.Rmd' using rmarkdown
Quitting from text2sdg.Rmd:77-85 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
---
Backtrace:
▆
1. ├─text2sdg::detect_sdg_systems(...)
2. │ └─text2sdg:::detect_aurora(corpus, sdgs)
3. │ └─text2sdg:::search_corpus(corpus, aurora_simple$correct)
4. │ ├─... %>% tibble::as_tibble()
5. │ └─corpustools::search_features(corpus, queries, ...)
6. │ └─corpustools:::get_dict_results(...)
7. │ └─corpustools:::dictionary_lookup(...)
8. │ └─corpustools:::dictionary_lookup_tokens(...)
9. │ └─corpustools:::dictionary_lookup_tokens2(...)
10. │ └─corpustools:::collapse_dict(...)
11. │ └─corpustools:::expand_wildcards(sn, feature_levels)
12. │ ├─ql[, `:=`(n, add_n(t)), by = "i"]
13. │ └─data.table:::`[.data.table`(ql, , `:=`(n, add_n(t)), by = "i")
14. └─tibble::as_tibble(.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'text2sdg.Rmd' failed with diagnostics:
attempt access index 2/2 in VECTOR_ELT
--- failed re-building 'text2sdg.Rmd'
SUMMARY: processing the following file failed:
'text2sdg.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: NOTE: 5, OK: 8
Version: 0.1.1
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Dominik S. Meier <dominikmeier@outlook.com>’
The Description field contains
'text2sdg' package. See Wulff, Meier and Mata (2023) <arXiv:2301.11353>
and Meier, Wulff and Mata (2021) <arXiv:2110.05856> for reference.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.1
Check: installed package size
Result: NOTE
installed size is 6.2Mb
sub-directories of 1Mb or more:
data 6.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.