CRAN Package Check Results for Package enaR

Last updated on 2020-02-17 00:49:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 10.92 68.98 79.90 ERROR
r-devel-linux-x86_64-debian-gcc 3.0.0 7.96 52.06 60.02 ERROR
r-devel-linux-x86_64-fedora-clang 3.0.0 92.33 ERROR
r-devel-linux-x86_64-fedora-gcc 3.0.0 90.68 ERROR
r-devel-windows-ix86+x86_64 3.0.0 16.00 95.00 111.00 OK
r-devel-windows-ix86+x86_64-gcc8 3.0.0 24.00 130.00 154.00 OK
r-patched-linux-x86_64 3.0.0 6.54 71.25 77.79 OK
r-patched-solaris-x86 3.0.0 131.60 OK
r-release-linux-x86_64 3.0.0 8.26 71.22 79.48 OK
r-release-windows-ix86+x86_64 3.0.0 13.00 85.00 98.00 OK
r-release-osx-x86_64 3.0.0 OK
r-oldrel-windows-ix86+x86_64 3.0.0 12.00 126.00 138.00 OK
r-oldrel-osx-x86_64 3.0.0 OK

Check Details

Version: 3.0.0
Check: examples
Result: ERROR
    Running examples in 'enaR-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: enaAll
    > ### Title: Conduct All Major ENA
    > ### Aliases: enaAll
    >
    > ### ** Examples
    >
    >
    >
    >
    > data(troModels)
    > output = enaAll(troModels[[6]])
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    enaR
     --- call from context ---
    structure.statistics(A)
     --- call from argument ---
    if (class(A) != "matrix") {
     warning("A is not a matrix class object")
    }
     --- R stacktrace ---
    where 1: structure.statistics(A)
    where 2: enaStructure(x)
    where 3: enaAll(troModels[[6]])
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (A = "adjacency matrix")
    {
     if (class(A) != "matrix") {
     warning("A is not a matrix class object")
     }
     n <- dim(A)[1]
     L <- sum(A)
     C <- L/n^2
     LD <- L/n
     e <- eigen(A)$values
     aer <- round(abs(e), digits = 7)
     mlam1A <- length(which(aer == aer[1]))
     ppr <- sum(mExp(A, 200))/sum(mExp(A, 199))
     lam1A <- abs(e[1])
     d <- abs(lam1A - LD)
     if ((n - mlam1A) > 0) {
     lam2A <- abs(e[(1 + mlam1A)])
     rho <- lam1A/abs(lam2A)
     R <- abs(e[n]) - abs(e[n - 1])/(abs(e[n - 1]) - abs(e[1]))
     }
     else {
     lam2A <- NA
     rho <- NA
     R <- NA
     }
     sp1 <- as.vector(scc(A)$sp)
     no.scc <- sp1[1]
     no.scc.big <- sp1[2]
     pscc <- sp1[3]
     sp <- cbind(n, L, C, LD, ppr, lam1A, mlam1A, rho, R, d, no.scc,
     no.scc.big, pscc)
     return(sp)
    }
    <bytecode: 0x5afa9e8>
    <environment: namespace:enaR>
     --- function search by body ---
    Function structure.statistics in namespace enaR has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(A) != "matrix") { : the condition has length > 1
    Calls: enaAll -> enaStructure -> structure.statistics
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 3.0.0
Check: examples
Result: ERROR
    Running examples in ‘enaR-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: enaAll
    > ### Title: Conduct All Major ENA
    > ### Aliases: enaAll
    >
    > ### ** Examples
    >
    >
    >
    >
    > data(troModels)
    > output = enaAll(troModels[[6]])
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    enaR
     --- call from context ---
    structure.statistics(A)
     --- call from argument ---
    if (class(A) != "matrix") {
     warning("A is not a matrix class object")
    }
     --- R stacktrace ---
    where 1: structure.statistics(A)
    where 2: enaStructure(x)
    where 3: enaAll(troModels[[6]])
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (A = "adjacency matrix")
    {
     if (class(A) != "matrix") {
     warning("A is not a matrix class object")
     }
     n <- dim(A)[1]
     L <- sum(A)
     C <- L/n^2
     LD <- L/n
     e <- eigen(A)$values
     aer <- round(abs(e), digits = 7)
     mlam1A <- length(which(aer == aer[1]))
     ppr <- sum(mExp(A, 200))/sum(mExp(A, 199))
     lam1A <- abs(e[1])
     d <- abs(lam1A - LD)
     if ((n - mlam1A) > 0) {
     lam2A <- abs(e[(1 + mlam1A)])
     rho <- lam1A/abs(lam2A)
     R <- abs(e[n]) - abs(e[n - 1])/(abs(e[n - 1]) - abs(e[1]))
     }
     else {
     lam2A <- NA
     rho <- NA
     R <- NA
     }
     sp1 <- as.vector(scc(A)$sp)
     no.scc <- sp1[1]
     no.scc.big <- sp1[2]
     pscc <- sp1[3]
     sp <- cbind(n, L, C, LD, ppr, lam1A, mlam1A, rho, R, d, no.scc,
     no.scc.big, pscc)
     return(sp)
    }
    <bytecode: 0x556828475a48>
    <environment: namespace:enaR>
     --- function search by body ---
    Function structure.statistics in namespace enaR has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(A) != "matrix") { : the condition has length > 1
    Calls: enaAll -> enaStructure -> structure.statistics
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.0.0
Check: examples
Result: ERROR
    Running examples in ‘enaR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: enaAll
    > ### Title: Conduct All Major ENA
    > ### Aliases: enaAll
    >
    > ### ** Examples
    >
    >
    >
    >
    > data(troModels)
    > output = enaAll(troModels[[6]])
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    enaR
     --- call from context ---
    structure.statistics(A)
     --- call from argument ---
    if (class(A) != "matrix") {
     warning("A is not a matrix class object")
    }
     --- R stacktrace ---
    where 1: structure.statistics(A)
    where 2: enaStructure(x)
    where 3: enaAll(troModels[[6]])
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (A = "adjacency matrix")
    {
     if (class(A) != "matrix") {
     warning("A is not a matrix class object")
     }
     n <- dim(A)[1]
     L <- sum(A)
     C <- L/n^2
     LD <- L/n
     e <- eigen(A)$values
     aer <- round(abs(e), digits = 7)
     mlam1A <- length(which(aer == aer[1]))
     ppr <- sum(mExp(A, 200))/sum(mExp(A, 199))
     lam1A <- abs(e[1])
     d <- abs(lam1A - LD)
     if ((n - mlam1A) > 0) {
     lam2A <- abs(e[(1 + mlam1A)])
     rho <- lam1A/abs(lam2A)
     R <- abs(e[n]) - abs(e[n - 1])/(abs(e[n - 1]) - abs(e[1]))
     }
     else {
     lam2A <- NA
     rho <- NA
     R <- NA
     }
     sp1 <- as.vector(scc(A)$sp)
     no.scc <- sp1[1]
     no.scc.big <- sp1[2]
     pscc <- sp1[3]
     sp <- cbind(n, L, C, LD, ppr, lam1A, mlam1A, rho, R, d, no.scc,
     no.scc.big, pscc)
     return(sp)
    }
    <bytecode: 0x747b9a0>
    <environment: namespace:enaR>
     --- function search by body ---
    Function structure.statistics in namespace enaR has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(A) != "matrix") { : the condition has length > 1
    Calls: enaAll -> enaStructure -> structure.statistics
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.0.0
Check: examples
Result: ERROR
    Running examples in ‘enaR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: enaAll
    > ### Title: Conduct All Major ENA
    > ### Aliases: enaAll
    >
    > ### ** Examples
    >
    >
    >
    >
    > data(troModels)
    > output = enaAll(troModels[[6]])
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    enaR
     --- call from context ---
    structure.statistics(A)
     --- call from argument ---
    if (class(A) != "matrix") {
     warning("A is not a matrix class object")
    }
     --- R stacktrace ---
    where 1: structure.statistics(A)
    where 2: enaStructure(x)
    where 3: enaAll(troModels[[6]])
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (A = "adjacency matrix")
    {
     if (class(A) != "matrix") {
     warning("A is not a matrix class object")
     }
     n <- dim(A)[1]
     L <- sum(A)
     C <- L/n^2
     LD <- L/n
     e <- eigen(A)$values
     aer <- round(abs(e), digits = 7)
     mlam1A <- length(which(aer == aer[1]))
     ppr <- sum(mExp(A, 200))/sum(mExp(A, 199))
     lam1A <- abs(e[1])
     d <- abs(lam1A - LD)
     if ((n - mlam1A) > 0) {
     lam2A <- abs(e[(1 + mlam1A)])
     rho <- lam1A/abs(lam2A)
     R <- abs(e[n]) - abs(e[n - 1])/(abs(e[n - 1]) - abs(e[1]))
     }
     else {
     lam2A <- NA
     rho <- NA
     R <- NA
     }
     sp1 <- as.vector(scc(A)$sp)
     no.scc <- sp1[1]
     no.scc.big <- sp1[2]
     pscc <- sp1[3]
     sp <- cbind(n, L, C, LD, ppr, lam1A, mlam1A, rho, R, d, no.scc,
     no.scc.big, pscc)
     return(sp)
    }
    <bytecode: 0x7bfbc30>
    <environment: namespace:enaR>
     --- function search by body ---
    Function structure.statistics in namespace enaR has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(A) != "matrix") { : the condition has length > 1
    Calls: enaAll -> enaStructure -> structure.statistics
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc