CRAN Package Check Results for Package maotai

Last updated on 2019-11-26 00:51:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 64.58 75.81 140.39 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 49.70 60.37 110.07 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 177.71 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 172.92 OK
r-devel-windows-ix86+x86_64 0.1.1 185.00 168.00 353.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.1.1 168.00 120.00 288.00 OK
r-patched-linux-x86_64 0.1.1 48.80 71.59 120.39 OK
r-patched-solaris-x86 0.1.1 205.90 OK
r-release-linux-x86_64 0.1.1 50.55 71.36 121.91 OK
r-release-windows-ix86+x86_64 0.1.1 174.00 121.00 295.00 OK
r-release-osx-x86_64 0.1.1 WARN
r-oldrel-windows-ix86+x86_64 0.1.1 122.00 154.00 276.00 OK
r-oldrel-osx-x86_64 0.1.1 WARN

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in 'maotai-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: shortestpath
    > ### Title: Find Shortest Path using Floyd-Warshall Algorithm
    > ### Aliases: shortestpath
    >
    > ### ** Examples
    >
    > ## simple example : a ring graph
    > # edges exist for pairs
    > A = array(0,c(10,10))
    > for (i in 1:9){
    + A[i,i+1] = 1
    + A[i+1,i] = 1
    + }
    > A[10,1] <- A[1,10] <- 1
    >
    > # compute shortest-path and show the matrix
    > sdA <- shortestpath(A)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    maotai
     --- call from context ---
    shortestpath(A)
     --- call from argument ---
    if (class(dist) == "matrix") {
     distnaive = dist
    } else if (class(dist) == "dist") {
     distnaive = as.matrix(dist)
    } else {
     stop("* shortestpath : input 'dist' should be either (n*n) matrix or 'dist' class object.")
    }
     --- R stacktrace ---
    where 1: shortestpath(A)
    
     --- value of length: 2 type: logical ---
    [1] TRUE FALSE
     --- function from context ---
    function (dist)
    {
     input = dist
     if (class(dist) == "matrix") {
     distnaive = dist
     }
     else if (class(dist) == "dist") {
     distnaive = as.matrix(dist)
     }
     else {
     stop("* shortestpath : input 'dist' should be either (n*n) matrix or 'dist' class object.")
     }
     if (any(is.logical(distnaive))) {
     distnaive = distnaive * 1
     }
     mepsil = .Machine$double.eps
     distnaive[which(distnaive < 5 * mepsil)] = -Inf
     distgeo = aux_shortestpath(distnaive)
     return(distgeo)
    }
    <bytecode: 0x9686900>
    <environment: namespace:maotai>
     --- function search by body ---
    Function shortestpath in namespace maotai has this body.
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘maotai-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: shortestpath
    > ### Title: Find Shortest Path using Floyd-Warshall Algorithm
    > ### Aliases: shortestpath
    >
    > ### ** Examples
    >
    > ## simple example : a ring graph
    > # edges exist for pairs
    > A = array(0,c(10,10))
    > for (i in 1:9){
    + A[i,i+1] = 1
    + A[i+1,i] = 1
    + }
    > A[10,1] <- A[1,10] <- 1
    >
    > # compute shortest-path and show the matrix
    > sdA <- shortestpath(A)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    maotai
     --- call from context ---
    shortestpath(A)
     --- call from argument ---
    if (class(dist) == "matrix") {
     distnaive = dist
    } else if (class(dist) == "dist") {
     distnaive = as.matrix(dist)
    } else {
     stop("* shortestpath : input 'dist' should be either (n*n) matrix or 'dist' class object.")
    }
     --- R stacktrace ---
    where 1: shortestpath(A)
    
     --- value of length: 2 type: logical ---
    [1] TRUE FALSE
     --- function from context ---
    function (dist)
    {
     input = dist
     if (class(dist) == "matrix") {
     distnaive = dist
     }
     else if (class(dist) == "dist") {
     distnaive = as.matrix(dist)
     }
     else {
     stop("* shortestpath : input 'dist' should be either (n*n) matrix or 'dist' class object.")
     }
     if (any(is.logical(distnaive))) {
     distnaive = distnaive * 1
     }
     mepsil = .Machine$double.eps
     distnaive[which(distnaive < 5 * mepsil)] = -Inf
     distgeo = aux_shortestpath(distnaive)
     return(distgeo)
    }
    <bytecode: 0x55d14520b2d0>
    <environment: namespace:maotai>
     --- function search by body ---
    Function shortestpath in namespace maotai has this body.
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     Warning: 'rgl_init' failed, running with rgl.useNULL = TRUE
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: dependencies in R code
Result: NOTE
    No protocol specified
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: S3 generic/method consistency
Result: WARN
    No protocol specified
    See section ‘Generic functions and methods’ in the ‘Writing R
    Extensions’ manual.
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: replacement functions
Result: WARN
    No protocol specified
    The argument of a replacement function which corresponds to the right
    hand side must be named ‘value’.
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: foreign function calls
Result: NOTE
    No protocol specified
    See chapter ‘System and foreign language interfaces’ in the ‘Writing R
    Extensions’ manual.
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: R code for possible problems
Result: NOTE
    No protocol specified
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: Rd files
Result: WARN
    No protocol specified
    prepare_Rd: RGL: unable to open X11 display
    prepare_Rd: 'rgl_init' failed, running with rgl.useNULL = TRUE
Flavor: r-release-osx-x86_64

Version: 0.1.1
Check: for missing documentation entries
Result: WARN
    No protocol specified
    All user-level objects in a package should have documentation entries.
    See chapter ‘Writing R documentation files’ in the ‘Writing R
    Extensions’ manual.
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: for code/documentation mismatches
Result: WARN
    No protocol specified
    No protocol specified
    No protocol specified
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: Rd \usage sections
Result: NOTE
    No protocol specified
    The \usage entries for S3 methods should use the \method markup and not
    their full name.
    See chapter ‘Writing R documentation files’ in the ‘Writing R
    Extensions’ manual.
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64