CRAN Package Check Results for Package multinets

Last updated on 2019-12-13 05:47:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 35.41 33.64 69.05 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 21.30 26.53 47.83 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 100.63 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.1 87.92 NOTE
r-devel-windows-ix86+x86_64 0.2.1 64.00 100.00 164.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2.1 73.00 95.00 168.00 OK
r-patched-linux-x86_64 0.2.1 25.09 30.76 55.85 OK
r-patched-solaris-x86 0.2.1 92.00 NOTE
r-release-linux-x86_64 0.2.1 25.27 30.99 56.26 OK
r-release-windows-ix86+x86_64 0.2.1 62.00 64.00 126.00 OK
r-release-osx-x86_64 0.2.1 NOTE
r-oldrel-windows-ix86+x86_64 0.2.1 51.00 67.00 118.00 OK
r-oldrel-osx-x86_64 0.2.1 NOTE

Check Details

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in 'multinets-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: set_color_multilevel
    > ### Title: Set colors for levels of a multilevel network
    > ### Aliases: set_color_multilevel
    >
    > ### ** Examples
    >
    > # Check whether a graph is multilevel
    > is_multilevel(linked_sim)
    [1] TRUE
    >
    > # Set the colors for each level
    > linked_sim <- set_color_multilevel(linked_sim)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    multinets
     --- call from context ---
    get_types(lacos, x)
     --- call from argument ---
    if (class(m) != "matrix") stop("m must be a matrix")
     --- R stacktrace ---
    where 1: get_types(lacos, x)
    where 2: set_color_multilevel(linked_sim)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (m, g)
    {
     if (class(m) != "matrix")
     stop("m must be a matrix")
     tipos = matrix(nrow = nrow(m), ncol = ncol(m))
     for (i in 1:nrow(tipos)) {
     for (j in 1:ncol(tipos)) {
     tipos[i, j] = igraph::V(g)$type[m[i, j]]
     }
     }
     return(tipos)
    }
    <bytecode: 0x44bd888>
    <environment: namespace:multinets>
     --- function search by body ---
    Function get_types in namespace multinets has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(m) != "matrix") stop("m must be a matrix") :
     the condition has length > 1
    Calls: set_color_multilevel -> get_types
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [3s/4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(multinets)
     multinets was developed by Neylson Crepalde as an extension to 'igraph'
     >
     > test_check("multinets")
     -- 1. Failure: layout_multilevel responds correctly to various objects (@test-la
     class(layout_multilevel(linked_sim)) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     == testthat results ===========================================================
     [ OK: 18 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Failure: layout_multilevel responds correctly to various objects (@test-layout_conditions.R#10)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(multinets)
     multinets was developed by Neylson Crepalde as an extension to 'igraph'
     >
     > test_check("multinets")
     ── 1. Failure: layout_multilevel responds correctly to various objects (@test-la
     class(layout_multilevel(linked_sim)) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 18 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Failure: layout_multilevel responds correctly to various objects (@test-layout_conditions.R#10)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘igraphdata’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64