CRAN Package Check Results for Maintainer ‘Ananda Mahto <mrdwab at gmail.com>’

Last updated on 2025-12-28 01:49:16 CET.

Package ERROR NOTE
splitstackshape 1 12

Package splitstackshape

Current CRAN status: ERROR: 1, NOTE: 12

Version: 1.4.8
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Ananda Mahto <mrdwab@gmail.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Ananda", family = "Mahto", role = c("aut", "cre"), email = "mrdwab@gmail.com") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.4.8
Check: package subdirectories
Result: NOTE Problems with news in ‘NEWS.md’: Cannot extract version info from the following section titles: Feature Changes Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.4.8
Check: examples
Result: ERROR Running examples in 'splitstackshape-Ex.R' failed The error most likely occurred in: > ### Name: getanID > ### Title: Add an "id" Variable to a Dataset > ### Aliases: getanID > > ### ** Examples > > > mydf <- data.frame(IDA = c("a", "a", "a", "b", "b"), + IDB = c(1, 1, 1, 1, 1), values = 1:5) > mydf IDA IDB values 1 a 1 1 2 a 1 2 3 a 1 3 4 b 1 4 5 b 1 5 > getanID(mydf, c("IDA", "IDB")) Error in `[.data.table`(data, , `:=`(.id, sequence(.N)), by = id.vars) : attempt access index 3/3 in VECTOR_ELT Calls: getanID -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 1.4.8
Check: tests
Result: ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(splitstackshape) > > test_check("splitstackshape") Saving _problems/test_listCols-16.R Saving _problems/test_stratified-16.R [ FAIL 2 | WARN 7 | SKIP 0 | PASS 42 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_listCols.R:16:3'): correct dims are returned ─────────────────── Error in ``[.data.table`(data, , `:=`(.id, sequence(.N)), by = id.vars)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(dim(getanID(mydf, "IDA")), c(5, 4)) at test_listCols.R:16:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─splitstackshape::getanID(mydf, "IDA") 5. ├─data[, `:=`(.id, sequence(.N)), by = id.vars] 6. └─data.table:::`[.data.table`(...) ── Error ('test_stratified.R:16:3'): stratified returns the expected number of rows ── Error in ``[.data.table`(samp_sizes, , `:=`(ss, min(N, size)), by = group)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test_stratified.R:16:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(stratified(DF, group = 5, size = 5)) 5. └─splitstackshape::stratified(DF, group = 5, size = 5) 6. └─splitstackshape:::s_n(indt, group, size) 7. ├─samp_sizes[, `:=`(ss, min(N, size)), by = group] 8. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 7 | SKIP 0 | PASS 42 ] Error: ! Test failures. Execution halted Flavor: r-devel-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.