Last updated on 2025-12-21 11:50:34 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| dataMojo | 4 | 9 | |
| faq | 3 | 10 | |
| flashCard | 3 | 10 | |
| forestry | 13 |
Current CRAN status: ERROR: 4, OK: 9
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘dataMojo-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: row_expand_dates
> ### Title: Expand row given start and end dates
> ### Aliases: row_expand_dates
>
> ### ** Examples
>
> dt_dates_simple <- data.table::data.table(
+ Start_Date = as.Date(c("2020-02-03", "2020-03-01") ),
+ End_Date = as.Date(c("2020-02-05", "2020-03-02") ),
+ group = c("A", "B")
+ )
> row_expand_dates(dt_dates_simple, "Start_Date", "End_Date", "Date")[]
Error in `[.data.table`(dt3, , `:=`("day", seq.Date(get(start_date_col)[1], :
attempt access index 3/3 in VECTOR_ELT
Calls: row_expand_dates -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dataMojo)
>
> test_check("dataMojo")
Saving _problems/test-col_str_reshape-387.R
Saving _problems/test-col_str_reshape-406.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-col_str_reshape.R:375:5'): test row_expand_pattern function works properly ──
Error in ``[.data.table`(dt2, , `:=`("Splited_new_col", unlist(strsplit(get(col_name), split = split_by_pattern)[1])), by = nrow)`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-col_str_reshape.R:375:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─dplyr::pull(...)
5. └─dataMojo::row_expand_pattern(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-col_str_reshape.R:400:5'): test row_expand_dates function works properly ──
Error in ``[.data.table`(dt3, , `:=`("day", seq.Date(get(start_date_col)[1], get(end_date_col)[1], by = "day")), by = .(get(start_date_col), get(end_date_col)))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-col_str_reshape.R:400:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─dplyr::pull(...)
5. └─dataMojo::row_expand_dates(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Intro-dataMojo.Rmd’ using rmarkdown
Quitting from Intro-dataMojo.Rmd:229-233 [ex14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
▆
1. └─dataMojo::row_expand_pattern(...)
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Intro-dataMojo.Rmd' failed with diagnostics:
attempt access index 7/7 in VECTOR_ELT
--- failed re-building ‘Intro-dataMojo.Rmd’
SUMMARY: processing the following file failed:
‘Intro-dataMojo.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dataMojo)
>
> test_check("dataMojo")
Saving _problems/test-col_str_reshape-387.R
Saving _problems/test-col_str_reshape-406.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-col_str_reshape.R:375:5'): test row_expand_pattern function works properly ──
Error in ``[.data.table`(dt2, , `:=`("Splited_new_col", unlist(strsplit(get(col_name), split = split_by_pattern)[1])), by = nrow)`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-col_str_reshape.R:375:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─dplyr::pull(...)
5. └─dataMojo::row_expand_pattern(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-col_str_reshape.R:400:5'): test row_expand_dates function works properly ──
Error in ``[.data.table`(dt3, , `:=`("day", seq.Date(get(start_date_col)[1], get(end_date_col)[1], by = "day")), by = .(get(start_date_col), get(end_date_col)))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-col_str_reshape.R:400:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─dplyr::pull(...)
5. └─dataMojo::row_expand_dates(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘dataMojo-Ex.R’ failed
The error most likely occurred in:
> ### Name: row_expand_dates
> ### Title: Expand row given start and end dates
> ### Aliases: row_expand_dates
>
> ### ** Examples
>
> dt_dates_simple <- data.table::data.table(
+ Start_Date = as.Date(c("2020-02-03", "2020-03-01") ),
+ End_Date = as.Date(c("2020-02-05", "2020-03-02") ),
+ group = c("A", "B")
+ )
> row_expand_dates(dt_dates_simple, "Start_Date", "End_Date", "Date")[]
Error in `[.data.table`(dt3, , `:=`("day", seq.Date(get(start_date_col)[1], :
attempt access index 3/3 in VECTOR_ELT
Calls: row_expand_dates -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dataMojo)
>
> test_check("dataMojo")
Saving _problems/test-col_str_reshape-387.R
Saving _problems/test-col_str_reshape-406.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-col_str_reshape.R:375:5'): test row_expand_pattern function works properly ──
Error in ``[.data.table`(dt2, , `:=`("Splited_new_col", unlist(strsplit(get(col_name), split = split_by_pattern)[1])), by = nrow)`: attempt access index 7/7 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-col_str_reshape.R:375:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─dplyr::pull(...)
5. └─dataMojo::row_expand_pattern(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-col_str_reshape.R:400:5'): test row_expand_dates function works properly ──
Error in ``[.data.table`(dt3, , `:=`("day", seq.Date(get(start_date_col)[1], get(end_date_col)[1], by = "day")), by = .(get(start_date_col), get(end_date_col)))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-col_str_reshape.R:400:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─dplyr::pull(...)
5. └─dataMojo::row_expand_dates(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘Intro-dataMojo.Rmd’ using rmarkdown
Quitting from Intro-dataMojo.Rmd:229-233 [ex14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
▆
1. └─dataMojo::row_expand_pattern(...)
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Intro-dataMojo.Rmd' failed with diagnostics:
attempt access index 7/7 in VECTOR_ELT
--- failed re-building ‘Intro-dataMojo.Rmd’
SUMMARY: processing the following file failed:
‘Intro-dataMojo.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Current CRAN status: NOTE: 3, OK: 10
Version: 0.1.1
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 10
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 13