CRAN Package Check Results for Package strvalidator

Last updated on 2025-12-20 15:51:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.4.2 58.16 322.25 380.41 ERROR
r-devel-linux-x86_64-debian-gcc 2.4.2 39.22 221.42 260.64 ERROR
r-devel-linux-x86_64-fedora-clang 2.4.2 113.00 537.99 650.99 ERROR
r-devel-linux-x86_64-fedora-gcc 2.4.2 103.00 495.08 598.08 ERROR
r-devel-windows-x86_64 2.4.2 53.00 280.00 333.00 OK
r-patched-linux-x86_64 2.4.2 67.74 351.70 419.44 OK
r-release-linux-x86_64 2.4.2 64.21 354.58 418.79 OK
r-release-macos-arm64 2.4.2 OK
r-release-macos-x86_64 2.4.2 47.00 353.00 400.00 OK
r-release-windows-x86_64 2.4.2 51.00 282.00 333.00 OK
r-oldrel-macos-arm64 2.4.2 OK
r-oldrel-macos-x86_64 2.4.2 48.00 324.00 372.00 OK
r-oldrel-windows-x86_64 2.4.2 69.00 367.00 436.00 OK

Check Details

Version: 2.4.2
Check: examples
Result: ERROR Running examples in ‘strvalidator-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: calculateHb > ### Title: Calculate Heterozygote Balance > ### Aliases: calculateHb > > ### ** Examples > > data(ref2) > data(set2) > # Calculate average balances. > calculateHb(data = set2, ref = ref2) 'kit' not provided. Attempting auto detection. Detected kit(s): SGMPlus Extracting known alleles from dataset... Using 'fast' allele filtering method. This method discards NA alleles/loci/samples. 1 "NA" in 'Allele' converted to NA Removed 1 rows where Allele=<NA> Estimating size of alleles... Error in `[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, : attempt access index 6/6 in VECTOR_ELT Calls: calculateHb -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.4.2
Check: tests
Result: ERROR Running ‘testthat.R’ [57s/73s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > ################################################################################ > # TODO LIST > # TODO: Add test for calculateResultType and other functions. > > ################################################################################ > # CHANGE LOG > # 24.12.2014: Second try, update to thestthat 0.8.1 > # 05.12.2013: Updated to thestthat 0.8 > > > # Load testthat package. > library(testthat) > > # Run all tests. > test_check(package = "strvalidator") Loading required package: strvalidator STR-validator 2.4.2 loaded! Saving _problems/test-calculateAllT-51.R Saving _problems/test-calculateHb-53.R Saving _problems/test-calculateHeight-214.R Saving _problems/test-calculateLb-38.R Saving _problems/test-calculateStatistics-38.R [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calculateAllT.r:46:3'): calculateAllT ────────────────────────── Error in ``[.data.table`(DT, , `:=`(Observed, length(unique(Allele))), by = list(Sample.Name, Marker))`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-calculateAllT.r:46:3 2. │ └─base::withCallingHandlers(...) 3. └─strvalidator::calculateHeight(...) 4. └─strvalidator::calculateCopies(data = ref) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHb.r:53:3'): calculateHb ────────────────────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateHb.r:53:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHeight.r:214:3'): calculateHeight ───────────────────── Error in ``[.data.table`(DT, , `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHeight(...) at test-calculateHeight.r:214:3 2. ├─DT[, `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateLb.r:34:3'): calculateLb ────────────────────────────── Error in ``[.data.table`(res, , `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateLb(...) at test-calculateLb.r:34:3 2. ├─res[, `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateStatistics.r:38:3'): calculateStatistics ────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateStatistics.r:38:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.4.2
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/46s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > ################################################################################ > # TODO LIST > # TODO: Add test for calculateResultType and other functions. > > ################################################################################ > # CHANGE LOG > # 24.12.2014: Second try, update to thestthat 0.8.1 > # 05.12.2013: Updated to thestthat 0.8 > > > # Load testthat package. > library(testthat) > > # Run all tests. > test_check(package = "strvalidator") Loading required package: strvalidator STR-validator 2.4.2 loaded! Saving _problems/test-calculateAllT-51.R Saving _problems/test-calculateHb-53.R Saving _problems/test-calculateHeight-214.R Saving _problems/test-calculateLb-38.R Saving _problems/test-calculateStatistics-38.R [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calculateAllT.r:46:3'): calculateAllT ────────────────────────── Error in ``[.data.table`(DT, , `:=`(Observed, length(unique(Allele))), by = list(Sample.Name, Marker))`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-calculateAllT.r:46:3 2. │ └─base::withCallingHandlers(...) 3. └─strvalidator::calculateHeight(...) 4. └─strvalidator::calculateCopies(data = ref) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHb.r:53:3'): calculateHb ────────────────────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateHb.r:53:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHeight.r:214:3'): calculateHeight ───────────────────── Error in ``[.data.table`(DT, , `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHeight(...) at test-calculateHeight.r:214:3 2. ├─DT[, `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateLb.r:34:3'): calculateLb ────────────────────────────── Error in ``[.data.table`(res, , `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateLb(...) at test-calculateLb.r:34:3 2. ├─res[, `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateStatistics.r:38:3'): calculateStatistics ────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateStatistics.r:38:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.4.2
Check: examples
Result: ERROR Running examples in ‘strvalidator-Ex.R’ failed The error most likely occurred in: > ### Name: calculateHb > ### Title: Calculate Heterozygote Balance > ### Aliases: calculateHb > > ### ** Examples > > data(ref2) > data(set2) > # Calculate average balances. > calculateHb(data = set2, ref = ref2) 'kit' not provided. Attempting auto detection. Detected kit(s): SGMPlus Extracting known alleles from dataset... Using 'fast' allele filtering method. This method discards NA alleles/loci/samples. 1 "NA" in 'Allele' converted to NA Removed 1 rows where Allele=<NA> Estimating size of alleles... Error in `[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, : attempt access index 6/6 in VECTOR_ELT Calls: calculateHb -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.4.2
Check: tests
Result: ERROR Running ‘testthat.R’ [88s/165s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > ################################################################################ > # TODO LIST > # TODO: Add test for calculateResultType and other functions. > > ################################################################################ > # CHANGE LOG > # 24.12.2014: Second try, update to thestthat 0.8.1 > # 05.12.2013: Updated to thestthat 0.8 > > > # Load testthat package. > library(testthat) > > # Run all tests. > test_check(package = "strvalidator") Loading required package: strvalidator STR-validator 2.4.2 loaded! Saving _problems/test-calculateAllT-51.R Saving _problems/test-calculateHb-53.R Saving _problems/test-calculateHeight-214.R Saving _problems/test-calculateLb-38.R Saving _problems/test-calculateStatistics-38.R [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calculateAllT.r:46:3'): calculateAllT ────────────────────────── Error in ``[.data.table`(DT, , `:=`(Observed, length(unique(Allele))), by = list(Sample.Name, Marker))`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-calculateAllT.r:46:3 2. │ └─base::withCallingHandlers(...) 3. └─strvalidator::calculateHeight(...) 4. └─strvalidator::calculateCopies(data = ref) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHb.r:53:3'): calculateHb ────────────────────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateHb.r:53:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHeight.r:214:3'): calculateHeight ───────────────────── Error in ``[.data.table`(DT, , `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHeight(...) at test-calculateHeight.r:214:3 2. ├─DT[, `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateLb.r:34:3'): calculateLb ────────────────────────────── Error in ``[.data.table`(res, , `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateLb(...) at test-calculateLb.r:34:3 2. ├─res[, `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateStatistics.r:38:3'): calculateStatistics ────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateStatistics.r:38:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.4.2
Check: tests
Result: ERROR Running ‘testthat.R’ [87s/191s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > ################################################################################ > # TODO LIST > # TODO: Add test for calculateResultType and other functions. > > ################################################################################ > # CHANGE LOG > # 24.12.2014: Second try, update to thestthat 0.8.1 > # 05.12.2013: Updated to thestthat 0.8 > > > # Load testthat package. > library(testthat) > > # Run all tests. > test_check(package = "strvalidator") Loading required package: strvalidator STR-validator 2.4.2 loaded! Saving _problems/test-calculateAllT-51.R Saving _problems/test-calculateHb-53.R Saving _problems/test-calculateHeight-214.R Saving _problems/test-calculateLb-38.R Saving _problems/test-calculateStatistics-38.R [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calculateAllT.r:46:3'): calculateAllT ────────────────────────── Error in ``[.data.table`(DT, , `:=`(Observed, length(unique(Allele))), by = list(Sample.Name, Marker))`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-calculateAllT.r:46:3 2. │ └─base::withCallingHandlers(...) 3. └─strvalidator::calculateHeight(...) 4. └─strvalidator::calculateCopies(data = ref) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHb.r:53:3'): calculateHb ────────────────────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateHb.r:53:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateHeight.r:214:3'): calculateHeight ───────────────────── Error in ``[.data.table`(DT, , `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHeight(...) at test-calculateHeight.r:214:3 2. ├─DT[, `:=`(Peaks, sum(!is.na(Height))), by = list(Sample.Name)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateLb.r:34:3'): calculateLb ────────────────────────────── Error in ``[.data.table`(res, , `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateLb(...) at test-calculateLb.r:34:3 2. ├─res[, `:=`(Lb, TPH/TPPH), by = list(Sample.Name, Dye, Marker)] 3. └─data.table:::`[.data.table`(...) ── Error ('test-calculateStatistics.r:38:3'): calculateStatistics ────────────── Error in ``[.data.table`(DT, !is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker))`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. └─strvalidator::calculateHb(...) at test-calculateStatistics.r:38:3 2. ├─DT[!is.na(Height), `:=`(Peaks, .N), list(Sample.Name, Marker)] 3. └─data.table:::`[.data.table`(...) [ FAIL 5 | WARN 1 | SKIP 0 | PASS 3576 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc