CRAN Package Check Results for Maintainer ‘Guro Dorum <guro.dorum at gmail.com>’

Last updated on 2024-12-23 12:49:43 CET.

Package ERROR NOTE OK
relMix 1 2 10

Package relMix

Current CRAN status: ERROR: 1, NOTE: 2, OK: 10

Version: 1.4
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: createDatamatrix.Rd: FamiliasLocus relMix.Rd: FamiliasPedigree, FamiliasLocus, Familias, FamiliasPosterior Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Version: 1.4
Check: examples
Result: ERROR Running examples in ‘relMix-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: relMix > ### Title: Relationship inference based on mixtures > ### Aliases: relMix > > ### ** Examples > > #Example 1: paternity trio with mixture of mother and child > #Define alleles and frequencies > alleles <- 1:2 > afreq <- c(0.4,0.6) > #Define pedigrees > persons <- c("CH","MO","AF") > ped1 <- Familias::FamiliasPedigree(id=persons, dadid=c("AF",NA, NA), momid=c("MO", NA,NA), + sex=c("male", "female", "male")) > ped2 <- Familias::FamiliasPedigree(id=c(persons, "TF"), dadid=c("TF", NA, NA,NA), + momid=c("MO", NA, NA,NA), sex=c("male", "female", "male", "male")) > pedigrees <- list(isFather = ped1, unrelated=ped2) > #Create locus object > locus <- Familias::FamiliasLocus(frequencies=afreq,name="M1", + allelenames= alleles) > #Known genotypes of alleged father and mother > gAF <- c(1,1) > gMO <- c(1,1) > #Mixture alleles > R <- c(1,2) > datamatrix <- createDatamatrix(locus,knownGenos=list(AF=gAF,MO=gMO),idsU=c("CH")) > #Define dropout and drop-in values > d <- 0.1 > di <- 0.05 > res <- relMix(pedigrees, locus, R, datamatrix, ids=c("MO","CH"), + D=list(c(0,0),c(d,d^2)),di=di, kinship=0) *** buffer overflow detected ***: terminated Aborted Flavor: r-devel-linux-x86_64-debian-clang