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.000973 secs)
  All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.00422 secs)
  Total solutions: 3 
  Converting to ped
  Excessive inbreeding: 0 
  Time used: 0.0113 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.000869 secs)
  All 2 + 1 extra: 2 solutions | 2 candidates | 2 duplicates removed (0.00365 secs)
  Total solutions: 4 
  Converting to ped
  Excessive inbreeding: 0 
  Time used: 0.00903 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.000922 secs)
  All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.00625 secs)
  All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.0296 secs)
  Total solutions: 9 
  Converting to ped
  Excessive inbreeding: 2 
  Time used: 0.0413 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.00096 secs)
  All 2 + 1 extra: 2 solutions | 12 candidates | 11 duplicates removed (0.00652 secs)
  All 2 + 2 extra: 6 solutions | 6 candidates | 11 duplicates removed (0.0299 secs)
  Total solutions: 9 
  Converting to ped
  Time used: 0.032 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