CRAN Package Check Results for Package corclass

Last updated on 2020-02-19 10:48:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 2.28 25.53 27.81 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 1.88 20.39 22.27 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 34.74 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 34.52 ERROR
r-devel-windows-ix86+x86_64 0.1.1 5.00 44.00 49.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.1.1 8.00 55.00 63.00 OK
r-patched-linux-x86_64 0.1.1 1.95 26.66 28.61 OK
r-patched-solaris-x86 0.1.1 68.80 OK
r-release-linux-x86_64 0.1.1 1.76 26.91 28.67 OK
r-release-windows-ix86+x86_64 0.1.1 5.00 40.00 45.00 OK
r-release-osx-x86_64 0.1.1 OK
r-oldrel-windows-ix86+x86_64 0.1.1 2.00 42.00 44.00 OK
r-oldrel-osx-x86_64 0.1.1 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in 'corclass-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: cca
    > ### Title: Main function for CCA.
    > ### Aliases: cca
    >
    > ### ** Examples
    >
    > data(cca.example)
    > res1 <- cca(cca.example) # with igraph 0.7, this should find 3 classes of sizes 218 391 144.
    Filtering out correlations for which Pr(|r| != 0) > 0.01
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    corclass
     --- call from context ---
    .separate(attr(cormat, "dtf"), comm$membership)
     --- call from argument ---
    if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
    }
     --- R stacktrace ---
    where 1: .separate(attr(cormat, "dtf"), comm$membership)
    where 2: cca(cca.example)
    
     --- value of length: 2 type: logical ---
    [1] TRUE FALSE
     --- function from context ---
    function (dtf, membership)
    {
     ids <- sort(unique(membership))
     modules <- list()
     if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
     }
     for (i in 1:length(ids)) {
     curmod <- list()
     class(curmod) <- "cca.module"
     curmod$dtf <- dtf[membership == ids[i], ]
     curmod$cormat <- cor(curmod$dtf)
     curmod$degenerate <- any(is.na(curmod$cormat))
     modules[[i]] <- curmod
     }
     return(modules)
    }
    <bytecode: 0x23392d0>
    <environment: namespace:corclass>
     --- function search by body ---
    Function .separate in namespace corclass has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dtf) == "matrix") { : the condition has length > 1
    Calls: cca -> .separate
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘corclass-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: cca
    > ### Title: Main function for CCA.
    > ### Aliases: cca
    >
    > ### ** Examples
    >
    > data(cca.example)
    > res1 <- cca(cca.example) # with igraph 0.7, this should find 3 classes of sizes 218 391 144.
    Filtering out correlations for which Pr(|r| != 0) > 0.01
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    corclass
     --- call from context ---
    .separate(attr(cormat, "dtf"), comm$membership)
     --- call from argument ---
    if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
    }
     --- R stacktrace ---
    where 1: .separate(attr(cormat, "dtf"), comm$membership)
    where 2: cca(cca.example)
    
     --- value of length: 2 type: logical ---
    [1] TRUE FALSE
     --- function from context ---
    function (dtf, membership)
    {
     ids <- sort(unique(membership))
     modules <- list()
     if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
     }
     for (i in 1:length(ids)) {
     curmod <- list()
     class(curmod) <- "cca.module"
     curmod$dtf <- dtf[membership == ids[i], ]
     curmod$cormat <- cor(curmod$dtf)
     curmod$degenerate <- any(is.na(curmod$cormat))
     modules[[i]] <- curmod
     }
     return(modules)
    }
    <bytecode: 0x559bd0768bc8>
    <environment: namespace:corclass>
     --- function search by body ---
    Function .separate in namespace corclass has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dtf) == "matrix") { : the condition has length > 1
    Calls: cca -> .separate
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘corclass-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: cca
    > ### Title: Main function for CCA.
    > ### Aliases: cca
    >
    > ### ** Examples
    >
    > data(cca.example)
    > res1 <- cca(cca.example) # with igraph 0.7, this should find 3 classes of sizes 218 391 144.
    Filtering out correlations for which Pr(|r| != 0) > 0.01
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    corclass
     --- call from context ---
    .separate(attr(cormat, "dtf"), comm$membership)
     --- call from argument ---
    if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
    }
     --- R stacktrace ---
    where 1: .separate(attr(cormat, "dtf"), comm$membership)
    where 2: cca(cca.example)
    
     --- value of length: 2 type: logical ---
    [1] TRUE FALSE
     --- function from context ---
    function (dtf, membership)
    {
     ids <- sort(unique(membership))
     modules <- list()
     if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
     }
     for (i in 1:length(ids)) {
     curmod <- list()
     class(curmod) <- "cca.module"
     curmod$dtf <- dtf[membership == ids[i], ]
     curmod$cormat <- cor(curmod$dtf)
     curmod$degenerate <- any(is.na(curmod$cormat))
     modules[[i]] <- curmod
     }
     return(modules)
    }
    <bytecode: 0x2cdd6d8>
    <environment: namespace:corclass>
     --- function search by body ---
    Function .separate in namespace corclass has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dtf) == "matrix") { : the condition has length > 1
    Calls: cca -> .separate
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘corclass-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: cca
    > ### Title: Main function for CCA.
    > ### Aliases: cca
    >
    > ### ** Examples
    >
    > data(cca.example)
    > res1 <- cca(cca.example) # with igraph 0.7, this should find 3 classes of sizes 218 391 144.
    Filtering out correlations for which Pr(|r| != 0) > 0.01
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    corclass
     --- call from context ---
    .separate(attr(cormat, "dtf"), comm$membership)
     --- call from argument ---
    if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
    }
     --- R stacktrace ---
    where 1: .separate(attr(cormat, "dtf"), comm$membership)
    where 2: cca(cca.example)
    
     --- value of length: 2 type: logical ---
    [1] TRUE FALSE
     --- function from context ---
    function (dtf, membership)
    {
     ids <- sort(unique(membership))
     modules <- list()
     if (class(dtf) == "matrix") {
     rownames(dtf) <- NULL
     dtf <- data.frame(dtf)
     }
     for (i in 1:length(ids)) {
     curmod <- list()
     class(curmod) <- "cca.module"
     curmod$dtf <- dtf[membership == ids[i], ]
     curmod$cormat <- cor(curmod$dtf)
     curmod$degenerate <- any(is.na(curmod$cormat))
     modules[[i]] <- curmod
     }
     return(modules)
    }
    <bytecode: 0x3312600>
    <environment: namespace:corclass>
     --- function search by body ---
    Function .separate in namespace corclass has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dtf) == "matrix") { : the condition has length > 1
    Calls: cca -> .separate
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc