CRAN Package Check Results for Maintainer ‘Grzegorz Smoliński <g.smolinski1 at gmail.com>’

Last updated on 2025-12-20 08:49:17 CET.

Package ERROR OK
dedupewider 3 10

Package dedupewider

Current CRAN status: ERROR: 3, OK: 10

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘dedupewider-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: dedupe_wide > ### Title: Dedupe across multiple columns > ### Aliases: dedupe_wide > > ### ** Examples > > x <- data.frame(tel_1 = c(111, 222, 444, 555), + tel_2 = c(222, 666, 666, 555), + name = paste0("name", 1:4)) > # rows 1, 2, 3 share the same phone numbers > > dedupe_wide(x, + cols_dedupe = c("tel_1", "tel_2"), + cols_expand = "name") Error in `[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value) : attempt access index 2/2 in VECTOR_ELT Calls: dedupe_wide -> find_duplicated_indexes -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(dedupewider) > > test_check("dedupewider") Saving _problems/test-dedupe_wide-31.R Saving _problems/test-dedupe_wide-43.R Saving _problems/test-dedupe_wide-56.R Saving _problems/test-dedupe_wide-69.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 19 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dedupe_wide.R:31:3'): no changes in df when empty or NA or no duplicates ── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(dedupe_wide(x, cols_dedupe), x) at test-dedupe_wide.R:31:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dedupewider::dedupe_wide(x, cols_dedupe) 5. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 6. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 7. └─data.table:::`[.data.table`(...) ── Error ('test-dedupe_wide.R:43:3'): rows with NA are not duplicated ────────── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(nrow(dedupe_wide(x, cols_dedupe)), 3) at test-dedupe_wide.R:43:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(dedupe_wide(x, cols_dedupe)) 5. └─dedupewider::dedupe_wide(x, cols_dedupe) 6. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 7. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 8. └─data.table:::`[.data.table`(...) ── Error ('test-dedupe_wide.R:56:3'): deduplication ──────────────────────────── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(nrow(dedupe_wide(x, cols_dedupe)), 1) at test-dedupe_wide.R:56:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(dedupe_wide(x, cols_dedupe)) 5. └─dedupewider::dedupe_wide(x, cols_dedupe) 6. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 7. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 8. └─data.table:::`[.data.table`(...) ── Error ('test-dedupe_wide.R:67:3'): columns order ──────────────────────────── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-dedupe_wide.R:67:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dedupewider::dedupe_wide(x, paste0("tel_", 1:5), "name") 5. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 6. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 7. └─data.table:::`[.data.table`(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 19 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘usage-and-algorithm-explained.Rmd’ using rmarkdown Quitting from usage-and-algorithm-explained.Rmd:69-83 [usage-default] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 2/2 in VECTOR_ELT --- Backtrace: ▆ 1. └─dedupewider::dedupe_wide(...) 2. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 3. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 4. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'usage-and-algorithm-explained.Rmd' failed with diagnostics: attempt access index 2/2 in VECTOR_ELT --- failed re-building ‘usage-and-algorithm-explained.Rmd’ SUMMARY: processing the following file failed: ‘usage-and-algorithm-explained.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘dedupewider-Ex.R’ failed The error most likely occurred in: > ### Name: dedupe_wide > ### Title: Dedupe across multiple columns > ### Aliases: dedupe_wide > > ### ** Examples > > x <- data.frame(tel_1 = c(111, 222, 444, 555), + tel_2 = c(222, 666, 666, 555), + name = paste0("name", 1:4)) > # rows 1, 2, 3 share the same phone numbers > > dedupe_wide(x, + cols_dedupe = c("tel_1", "tel_2"), + cols_expand = "name") Error in `[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value) : attempt access index 2/2 in VECTOR_ELT Calls: dedupe_wide -> find_duplicated_indexes -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(dedupewider) > > test_check("dedupewider") Saving _problems/test-dedupe_wide-31.R Saving _problems/test-dedupe_wide-43.R Saving _problems/test-dedupe_wide-56.R Saving _problems/test-dedupe_wide-69.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 19 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dedupe_wide.R:31:3'): no changes in df when empty or NA or no duplicates ── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(dedupe_wide(x, cols_dedupe), x) at test-dedupe_wide.R:31:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dedupewider::dedupe_wide(x, cols_dedupe) 5. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 6. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 7. └─data.table:::`[.data.table`(...) ── Error ('test-dedupe_wide.R:43:3'): rows with NA are not duplicated ────────── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(nrow(dedupe_wide(x, cols_dedupe)), 3) at test-dedupe_wide.R:43:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(dedupe_wide(x, cols_dedupe)) 5. └─dedupewider::dedupe_wide(x, cols_dedupe) 6. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 7. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 8. └─data.table:::`[.data.table`(...) ── Error ('test-dedupe_wide.R:56:3'): deduplication ──────────────────────────── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(nrow(dedupe_wide(x, cols_dedupe)), 1) at test-dedupe_wide.R:56:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(dedupe_wide(x, cols_dedupe)) 5. └─dedupewider::dedupe_wide(x, cols_dedupe) 6. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 7. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 8. └─data.table:::`[.data.table`(...) ── Error ('test-dedupe_wide.R:67:3'): columns order ──────────────────────────── Error in ``[.data.table`(x_tmp, , `:=`(V1, list(list(....idx))), by = value)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-dedupe_wide.R:67:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dedupewider::dedupe_wide(x, paste0("tel_", 1:5), "name") 5. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 6. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 7. └─data.table:::`[.data.table`(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 19 ] Error: ! Test failures. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘usage-and-algorithm-explained.Rmd’ using rmarkdown Quitting from usage-and-algorithm-explained.Rmd:69-83 [usage-default] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 2/2 in VECTOR_ELT --- Backtrace: ▆ 1. └─dedupewider::dedupe_wide(...) 2. └─dedupewider:::find_duplicated_indexes(x, cols_dedupe) 3. ├─x_tmp[, `:=`(V1, list(list(....idx))), by = value] 4. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'usage-and-algorithm-explained.Rmd' failed with diagnostics: attempt access index 2/2 in VECTOR_ELT --- failed re-building ‘usage-and-algorithm-explained.Rmd’ SUMMARY: processing the following file failed: ‘usage-and-algorithm-explained.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc