CRAN Package Check Results for Package pedbuildr

Last updated on 2026-08-05 09:50:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 8.21 73.72 81.93 OK
r-devel-linux-x86_64-debian-gcc 0.4.0 5.53 55.14 60.67 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 14.00 112.54 126.54 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 55.84 OK
r-devel-windows-x86_64 0.4.0 10.00 82.00 92.00 OK
r-patched-linux-x86_64 0.4.0 8.01 67.93 75.94 OK
r-release-linux-x86_64 0.4.0 8.07 67.37 75.44 OK
r-release-macos-arm64 0.4.0 2.00 26.00 28.00 OK
r-release-macos-x86_64 0.4.0 7.00 67.00 74.00 OK
r-release-windows-x86_64 0.4.0 10.00 82.00 92.00 OK
r-oldrel-macos-arm64 0.4.0 2.00 25.00 27.00 ERROR
r-oldrel-macos-x86_64 0.4.0 6.00 87.00 93.00 ERROR
r-oldrel-windows-x86_64 0.4.0 15.00 91.00 106.00 ERROR

Check Details

Version: 0.4.0
Check: R code for possible problems
Result: NOTE listPOsets: no visible global function definition for ‘%notin%’ Undefined global functions or variables: %notin% Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.4.0
Check: examples
Result: ERROR Running examples in ‘pedbuildr-Ex.R’ failed The error most likely occurred in: > ### Name: buildPeds > ### Title: Build a list of pedigrees > ### Aliases: buildPeds > > ### ** Examples > > # Two individuals + 1 extra > plist = buildPeds(1:2, extra = 1, age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 1 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000182 secs) All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.000714 secs) Total solutions: 3 Converting to ped Excessive inbreeding: 0 Time used: 0.00218 secs > plot(plist) > > # Allow disconnected > plist2 = buildPeds(1:2, extra = 1, age = "1>2", connected = FALSE) Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 1 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: FALSE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 2 solutions | 2 candidates (0.000158 secs) All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.000595 secs) Total solutions: 4 Converting to ped Excessive inbreeding: 0 Time used: 0.00156 secs > plot(plist2, frames = TRUE) > > # Note that full sibs require 2 extras > plist3 = buildPeds(1:2, extra = 2, age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 2 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000171 secs) All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.000982 secs) All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.00451 secs) Total solutions: 9 Converting to ped Excessive inbreeding: 2 Time used: 0.00654 secs > plot(plist3) > > # With 2 extras, allowing any inbreeding > plist4 = buildPeds(1:2, extra = 2, age = "1>2", maxInbreeding = 1) Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 2 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 1 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.00022 secs) All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.00112 secs) All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.00449 secs) Total solutions: 9 Converting to ped Time used: 0.00477 secs > plot(plist4) > > # Full sibs are also included when `extra = "parents"` > plist5 = buildPeds(1:2, extra = "parents", age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: parents Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: Error in allPOchar %notin% c(knownPOchar, notPOchar) : could not find function "%notin%" Calls: buildPeds -> buildPedsParents -> listPOsets Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pedbuildr) Loading required package: pedtools > > test_check("pedbuildr") Saving _problems/test-buildPeds-9.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-buildPeds.R:8:3'): buildPeds cathces errors ────────────────── `bp(1:3, sex = 1:3, verb = F)` threw an error with unexpected message. Expected match: "Illegal elements found in `sex`" Actual message: "could not find function \"%notin%\"" Backtrace: ▆ 1. ├─testthat::expect_error(bp(1:3, sex = 1:3, verb = F), "Illegal elements found in `sex`") at test-buildPeds.R:8:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─pedbuildr (local) bp(1:3, sex = 1:3, verb = F) 7. └─pedbuildr::buildPeds(ids, sex, verbose = verb, ...) at test-buildPeds.R:2:3 8. └─pedbuildr:::buildPedsParents(...) 9. └─pedbuildr:::listPOsets(...) ── Error ('test-buildPeds.R:17:3'): buildPeds() parses age correctly ─────────── Error in `allPOchar %notin% c(knownPOchar, notPOchar)`: could not find function "%notin%" Backtrace: ▆ 1. ├─testthat::expect_output(bp(1:3, age = c(1, 1, 1)), "Age info: -") at test-buildPeds.R:17:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. └─pedbuildr (local) bp(1:3, age = c(1, 1, 1)) 11. └─pedbuildr::buildPeds(ids, sex, verbose = verb, ...) at test-buildPeds.R:2:3 12. └─pedbuildr:::buildPedsParents(...) 13. └─pedbuildr:::listPOsets(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.4.0
Check: examples
Result: ERROR Running examples in ‘pedbuildr-Ex.R’ failed The error most likely occurred in: > ### Name: buildPeds > ### Title: Build a list of pedigrees > ### Aliases: buildPeds > > ### ** Examples > > # Two individuals + 1 extra > plist = buildPeds(1:2, extra = 1, age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 1 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000563 secs) All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.0037 secs) Total solutions: 3 Converting to ped Excessive inbreeding: 0 Time used: 0.00748 secs > plot(plist) > > # Allow disconnected > plist2 = buildPeds(1:2, extra = 1, age = "1>2", connected = FALSE) Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 1 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: FALSE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 2 solutions | 2 candidates (0.000469 secs) All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.00255 secs) Total solutions: 4 Converting to ped Excessive inbreeding: 0 Time used: 0.0175 secs > plot(plist2, frames = TRUE) > > # Note that full sibs require 2 extras > plist3 = buildPeds(1:2, extra = 2, age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 2 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000502 secs) All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.00304 secs) All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.0615 secs) Total solutions: 9 Converting to ped Excessive inbreeding: 2 Time used: 0.0972 secs > plot(plist3) > > # With 2 extras, allowing any inbreeding > plist4 = buildPeds(1:2, extra = 2, age = "1>2", maxInbreeding = 1) Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 2 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 1 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000503 secs) All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.00311 secs) All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.0371 secs) Total solutions: 9 Converting to ped Time used: 0.0381 secs > plot(plist4) > > # Full sibs are also included when `extra = "parents"` > plist5 = buildPeds(1:2, extra = "parents", age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: parents Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: Error in allPOchar %notin% c(knownPOchar, notPOchar) : could not find function "%notin%" Calls: buildPeds -> buildPedsParents -> listPOsets Execution halted Flavor: r-oldrel-macos-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pedbuildr) Loading required package: pedtools > > test_check("pedbuildr") Saving _problems/test-buildPeds-9.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-buildPeds.R:8:3'): buildPeds cathces errors ────────────────── `bp(1:3, sex = 1:3, verb = F)` threw an error with unexpected message. Expected match: "Illegal elements found in `sex`" Actual message: "could not find function \"%notin%\"" Backtrace: ▆ 1. ├─testthat::expect_error(bp(1:3, sex = 1:3, verb = F), "Illegal elements found in `sex`") at test-buildPeds.R:8:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─pedbuildr (local) bp(1:3, sex = 1:3, verb = F) 7. └─pedbuildr::buildPeds(ids, sex, verbose = verb, ...) at test-buildPeds.R:2:3 8. └─pedbuildr:::buildPedsParents(...) 9. └─pedbuildr:::listPOsets(...) ── Error ('test-buildPeds.R:17:3'): buildPeds() parses age correctly ─────────── Error in `allPOchar %notin% c(knownPOchar, notPOchar)`: could not find function "%notin%" Backtrace: ▆ 1. ├─testthat::expect_output(bp(1:3, age = c(1, 1, 1)), "Age info: -") at test-buildPeds.R:17:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. └─pedbuildr (local) bp(1:3, age = c(1, 1, 1)) 11. └─pedbuildr::buildPeds(ids, sex, verbose = verb, ...) at test-buildPeds.R:2:3 12. └─pedbuildr:::buildPedsParents(...) 13. └─pedbuildr:::listPOsets(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-x86_64

Version: 0.4.0
Check: examples
Result: ERROR Running examples in 'pedbuildr-Ex.R' failed The error most likely occurred in: > ### Name: buildPeds > ### Title: Build a list of pedigrees > ### Aliases: buildPeds > > ### ** Examples > > # Two individuals + 1 extra > plist = buildPeds(1:2, extra = 1, age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 1 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000569 secs) All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.00232 secs) Total solutions: 3 Converting to ped Excessive inbreeding: 0 Time used: 0.00639 secs > plot(plist) > > # Allow disconnected > plist2 = buildPeds(1:2, extra = 1, age = "1>2", connected = FALSE) Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 1 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: FALSE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 2 solutions | 2 candidates (0.000802 secs) All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.00334 secs) Total solutions: 4 Converting to ped Excessive inbreeding: 0 Time used: 0.00816 secs > plot(plist2, frames = TRUE) > > # Note that full sibs require 2 extras > plist3 = buildPeds(1:2, extra = 2, age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 2 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000919 secs) All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.00594 secs) All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.0279 secs) Total solutions: 9 Converting to ped Excessive inbreeding: 2 Time used: 0.0386 secs > plot(plist3) > > # With 2 extras, allowing any inbreeding > plist4 = buildPeds(1:2, extra = 2, age = "1>2", maxInbreeding = 1) Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: 2 Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 1 Linear inbreeding: FALSE Building pedigree list: All 2 + 0 extra: 1 solutions | 2 candidates (0.000915 secs) All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.0061 secs) All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.0285 secs) Total solutions: 9 Converting to ped Time used: 0.0305 secs > plot(plist4) > > # Full sibs are also included when `extra = "parents"` > plist5 = buildPeds(1:2, extra = "parents", age = "1>2") Pedigree parameters: ID labels: 1, 2 Sex: 1, 1 Extra: parents Age info: 1>2 Known PO: - Known non-PO: - No children: - Connected only: TRUE Symmetry filter: TRUE Max inbreeding: 0.0625 Linear inbreeding: FALSE Building pedigree list: Error in allPOchar %notin% c(knownPOchar, notPOchar) : could not find function "%notin%" Calls: buildPeds -> buildPedsParents -> listPOsets Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running 'testthat.R' [4s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pedbuildr) Loading required package: pedtools > > test_check("pedbuildr") Saving _problems/test-buildPeds-9.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-buildPeds.R:8:3'): buildPeds cathces errors ────────────────── `bp(1:3, sex = 1:3, verb = F)` threw an error with unexpected message. Expected match: "Illegal elements found in `sex`" Actual message: "could not find function \"%notin%\"" Backtrace: ▆ 1. ├─testthat::expect_error(bp(1:3, sex = 1:3, verb = F), "Illegal elements found in `sex`") at test-buildPeds.R:8:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─pedbuildr (local) bp(1:3, sex = 1:3, verb = F) 7. └─pedbuildr::buildPeds(ids, sex, verbose = verb, ...) at test-buildPeds.R:2:3 8. └─pedbuildr:::buildPedsParents(...) 9. └─pedbuildr:::listPOsets(...) ── Error ('test-buildPeds.R:17:3'): buildPeds() parses age correctly ─────────── Error in `allPOchar %notin% c(knownPOchar, notPOchar)`: could not find function "%notin%" Backtrace: ▆ 1. ├─testthat::expect_output(bp(1:3, age = c(1, 1, 1)), "Age info: -") at test-buildPeds.R:17:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. └─pedbuildr (local) bp(1:3, age = c(1, 1, 1)) 11. └─pedbuildr::buildPeds(ids, sex, verbose = verb, ...) at test-buildPeds.R:2:3 12. └─pedbuildr:::buildPedsParents(...) 13. └─pedbuildr:::listPOsets(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64