CRAN Package Check Results for Package dataMojo

Last updated on 2025-12-26 12:49:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 2.36 34.79 37.15 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 1.52 27.17 28.69 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 4.00 55.13 59.13 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 4.00 74.14 78.14 OK
r-devel-windows-x86_64 1.0.0 3.00 53.00 56.00 ERROR
r-patched-linux-x86_64 1.0.0 2.43 30.16 32.59 OK
r-release-linux-x86_64 1.0.0 2.06 29.44 31.50 OK
r-release-macos-arm64 1.0.0 OK
r-release-macos-x86_64 1.0.0 2.00 81.00 83.00 OK
r-release-windows-x86_64 1.0.0 4.00 55.00 59.00 OK
r-oldrel-macos-arm64 1.0.0 OK
r-oldrel-macos-x86_64 1.0.0 2.00 68.00 70.00 OK
r-oldrel-windows-x86_64 1.0.0 5.00 64.00 69.00 OK

Check Details

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 Flavor: r-devel-windows-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [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-windows-x86_64

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 Flavor: r-devel-windows-x86_64