CRAN Package Check Results for Package GENLIB

Last updated on 2019-12-07 00:53:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.6 94.71 107.40 202.11 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.6 66.64 84.88 151.52 OK
r-devel-linux-x86_64-fedora-clang 1.0.6 259.20 OK
r-devel-linux-x86_64-fedora-gcc 1.0.6 240.29 OK
r-devel-windows-ix86+x86_64 1.0.6 185.00 197.00 382.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.0.6 207.00 174.00 381.00 ERROR
r-patched-linux-x86_64 1.0.6 70.74 100.54 171.28 OK
r-patched-solaris-x86 1.0.6 316.30 OK
r-release-linux-x86_64 1.0.6 66.81 100.70 167.51 OK
r-release-windows-ix86+x86_64 1.0.6 252.00 209.00 461.00 OK
r-release-osx-x86_64 1.0.6 OK
r-oldrel-windows-ix86+x86_64 1.0.6 176.00 260.00 436.00 OK
r-oldrel-osx-x86_64 1.0.6 OK

Additional issues

gcc10

Check Details

Version: 1.0.6
Check: examples
Result: ERROR
    Running examples in 'GENLIB-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: gen.phiMean
    > ### Title: Average kinship
    > ### Aliases: gen.phiMean
    > ### Keywords: manip
    >
    > ### ** Examples
    >
    > data(geneaJi)
    > genJi<-gen.genealogy(geneaJi)
    > kinship<-gen.phi(genJi)
    > gen.phiMean(kinship)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    GENLIB
     --- call from context ---
    gen.phiMean(kinship)
     --- call from argument ---
    if (class(phiMatrix) == "matrix") mean(phiMatrix[phiMatrix <
     0.5]) else GLapplyPhi(phiMatrix, function(x) mean(x[x < 0.5]),
     named = named)
     --- R stacktrace ---
    where 1: gen.phiMean(kinship)
    
     --- value of length: 2 type: logical ---
    [1] TRUE FALSE
     --- function from context ---
    function (phiMatrix)
    {
     retour = gen.detectionErreur(matricephi = phiMatrix, named = T,
     check = c(28, 10))
     if (retour$erreur == T)
     stop(retour$messageErreur)
     phiMatrix = retour$matricephi
     named = retour$named
     if (class(phiMatrix) == "matrix")
     mean(phiMatrix[phiMatrix < 0.5])
     else GLapplyPhi(phiMatrix, function(x) mean(x[x < 0.5]),
     named = named)
    }
    <bytecode: 0xa89f928>
    <environment: namespace:GENLIB>
     --- function search by body ---
    Function gen.phiMean in namespace GENLIB has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(phiMatrix) == "matrix") mean(phiMatrix[phiMatrix < :
     the condition has length > 1
    Calls: gen.phiMean
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.6
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'GENLIB-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: gen.find.Min.Distance.MRCA
    > ### Title: Finds the minimum distances between pairs of individuals given a
    > ### set of ancestors.
    > ### Aliases: gen.find.Min.Distance.MRCA
    > ### Keywords: manip
    >
    > ### ** Examples
    >
    > data(geneaJi)
    > genJi<-gen.genealogy(geneaJi)
    > matMRCA<-gen.findMRCA(genJi, individuals=c(1,29), NbProcess = 1)
    [1] "warning"
    converting NULL pointer to R NULL> gen.find.Min.Distance.MRCA(matMRCA)
    Error in gen.find.Min.Distance.MRCA(matMRCA) :
     genMatrix must be a matrix output from gen.findMRCA
    Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8