CRAN Package Check Results for Package moko

Last updated on 2020-01-26 23:47:31 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 3.94 105.92 109.86 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 3.41 88.54 91.95 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 136.98 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 144.75 OK
r-devel-windows-ix86+x86_64 1.0.1 19.00 169.00 188.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.0.1 16.00 145.00 161.00 OK
r-patched-linux-x86_64 1.0.1 2.64 103.25 105.89 OK
r-patched-solaris-x86 1.0.1 178.70 OK
r-release-linux-x86_64 1.0.1 2.89 104.75 107.64 OK
r-release-windows-ix86+x86_64 1.0.1 6.00 111.00 117.00 OK
r-release-osx-x86_64 1.0.1 OK
r-oldrel-windows-ix86+x86_64 1.0.1 5.00 109.00 114.00 OK
r-oldrel-osx-x86_64 1.0.1 OK

Check Details

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in 'moko-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: igd
    > ### Title: IGD: Inverted Generational Distance
    > ### Aliases: igd
    >
    > ### ** Examples
    >
    > aps <- ps(matrix(rnorm(1:1000),ncol=2))
    > tps <- ps(matrix(rnorm(1:2000),ncol=2))
    > igd(aps,tps)
    [1] 0.1343876
    >
    > tps <-nowacki_beam_tps$set[1:50 * 10,]
    > aps <- tps * 1.2
    > igd(aps,tps)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    moko
     --- call from context ---
    igd(aps, tps)
     --- call from argument ---
    if (class(aps) == "ps") aps <- aps$set
     --- R stacktrace ---
    where 1: igd(aps, tps)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (aps, tps, method = "manhattan", norm = TRUE)
    {
     if (class(aps) == "ps")
     aps <- aps$set
     if (class(tps) == "ps")
     tps <- tps$set
     if (norm) {
     ran <- apply(rbind(aps, tps), 2, range)
     aps <- normalize(aps, ran)
     tps <- normalize(tps, ran)
     }
     n <- nrow(tps)
     d <- apply(tps, 1, function(point) pdist(point, aps, method))
     igd <- sum(d)/n
     return(igd)
    }
    <bytecode: 0xb9be388>
    <environment: namespace:moko>
     --- function search by body ---
    Function igd in namespace moko has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(aps) == "ps") aps <- aps$set :
     the condition has length > 1
    Calls: igd
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang