CRAN Package Check Results for Package enaR

Last updated on 2020-03-07 11:48:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 9.32 69.24 78.56 ERROR
r-devel-linux-x86_64-debian-gcc 3.0.0 7.02 51.96 58.98 ERROR
r-devel-linux-x86_64-fedora-clang 3.0.0 93.68 ERROR
r-devel-linux-x86_64-fedora-gcc 3.0.0 90.83 ERROR
r-devel-windows-ix86+x86_64 3.0.0 28.00 83.00 111.00 OK
r-devel-windows-ix86+x86_64-gcc8 3.0.0 18.00 93.00 111.00 OK
r-patched-linux-x86_64 3.0.0 7.41 71.11 78.52 OK
r-patched-solaris-x86 3.0.0 134.90 OK
r-release-linux-x86_64 3.0.0 7.56 71.28 78.84 OK
r-release-windows-ix86+x86_64 3.0.0 18.00 83.00 101.00 OK
r-release-osx-x86_64 3.0.0 OK
r-oldrel-windows-ix86+x86_64 3.0.0 9.00 77.00 86.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: 0x649bdf8>
    <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: 0x562af6304b98>
    <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: 0x65f5570>
    <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: 0x7be4640>
    <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