CRAN Package Check Results for Package geomnet

Last updated on 2020-01-27 00:48:03 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 10.67 56.48 67.15 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 9.50 44.54 54.04 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 86.08 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 79.45 OK
r-devel-windows-ix86+x86_64 0.2.0 41.00 93.00 134.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2.0 30.00 73.00 103.00 OK
r-patched-linux-x86_64 0.2.0 9.78 52.39 62.17 OK
r-patched-solaris-x86 0.2.0 115.10 OK
r-release-linux-x86_64 0.2.0 9.28 51.98 61.26 OK
r-release-windows-ix86+x86_64 0.2.0 19.00 80.00 99.00 OK
r-release-osx-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 10.00 64.00 74.00 OK
r-oldrel-osx-x86_64 0.2.0 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in 'geomnet-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: fortify.adjmat
    > ### Title: Function for converting a network adjacency matrix into the
    > ### correct format for use with geomnet
    > ### Aliases: fortify.adjmat
    >
    > ### ** Examples
    >
    > data(emon, package = "network")
    > adjmat <- as.adjmat(network::as.matrix.network.adjacency(emon$MtSi))
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    geomnet
     --- call from context ---
    as.adjmat(network::as.matrix.network.adjacency(emon$MtSi))
     --- call from argument ---
    if (class(dat) != "matrix") {
     stop("as.adjmat requires a matrix object")
    }
     --- R stacktrace ---
    where 1: as.adjmat(network::as.matrix.network.adjacency(emon$MtSi))
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (dat)
    {
     if (class(dat) != "matrix") {
     stop("as.adjmat requires a matrix object")
     }
     if (nrow(dat) != ncol(dat)) {
     stop("dat must be a square matrix")
     }
     if (sum(rownames(dat) != colnames(dat)) > 0) {
     stop("row and column names of dat must match")
     }
     class(dat) <- c("adjmat", "matrix")
     return(dat)
    }
    <bytecode: 0x4598bb8>
    <environment: namespace:geomnet>
     --- function search by body ---
    Function as.adjmat in namespace geomnet has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dat) != "matrix") { : the condition has length > 1
    Calls: as.adjmat
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang