CRAN Package Check Results for Package flexclust

Last updated on 2017-12-14 04:48:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3-4 3.03 32.17 35.20 FAIL
r-devel-linux-x86_64-debian-gcc 1.3-4 2.77 29.34 32.11 FAIL
r-devel-linux-x86_64-fedora-clang 1.3-4 78.49 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3-4 75.74 ERROR
r-devel-windows-ix86+x86_64 1.3-4 17.00 116.00 133.00 ERROR
r-patched-linux-x86_64 1.3-4 3.63 74.54 78.17 NOTE
r-patched-solaris-x86 1.3-4 99.70 NOTE
r-release-linux-x86_64 1.3-4 3.22 74.55 77.77 NOTE
r-release-windows-ix86+x86_64 1.3-4 10.00 126.00 136.00 NOTE
r-release-osx-x86_64 1.3-4 NOTE
r-oldrel-windows-ix86+x86_64 1.3-4 16.00 112.00 128.00 NOTE
r-oldrel-osx-x86_64 1.3-4 NOTE

Check Details

Version: 1.3-4
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to ‘clue’ in package code.
     Please use :: or requireNamespace() instead.
     See section 'Suggested packages' in the 'Writing R Extensions' manual.
    There are ::: calls to the package's namespace in its code. A package
     almost never needs to use ::: for its own objects:
     ‘getData’ ‘newKccaObject’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.3-4
Check: R code for possible problems
Result: NOTE
    as.kcca.hclust: no visible global function definition for ‘cutree’
    bootFlexclust: no visible global function definition for ‘runif’
    boxOverlap: no visible binding for global variable ‘quantile’
    cclust: no visible global function definition for ‘complete.cases’
    centMedian: no visible binding for global variable ‘median’
    centOptim: no visible global function definition for ‘optim’
    centOptim01: no visible global function definition for ‘optim’
    clusterEllipses: no visible global function definition for ‘cov’
    clusterHulls: no visible global function definition for
     ‘complete.cases’
    clusterHulls: no visible global function definition for ‘median’
    clusterHulls: no visible global function definition for ‘chull’
    distCor: no visible global function definition for ‘cor’
    getDifferentCluster: no visible global function definition for
     ‘solve_LSAP’
    kcca: no visible global function definition for ‘complete.cases’
    kccaFamily : <anonymous>: no visible binding for global variable
     ‘median’
    kruskalTest: no visible global function definition for ‘kruskal.test’
    kruskalTest: no visible global function definition for ‘p.adjust’
    medianInside: no visible binding for global variable ‘median’
    medianInside: no visible binding for global variable ‘quantile’
    panelShadow: no visible global function definition for ‘hcl’
    panelShadow: no visible global function definition for ‘approx’
    panelShadowBP: no visible global function definition for ‘quantile’
    panelShadowViolin: no visible global function definition for ‘density’
    perturbClusters: no visible global function definition for ‘runif’
    priceFeature : circle: no visible global function definition for
     ‘runif’
    priceFeature : square: no visible global function definition for
     ‘runif’
    propBarchart: no visible global function definition for ‘aggregate’
    propBarchart: no visible global function definition for ‘p.adjust’
    randomTourMatrix: no visible global function definition for ‘rnorm’
    randomTourRennes: no visible global function definition for ‘rnorm’
    shadowStars: no visible global function definition for ‘dist’
    stepFlexclust : bestKcca: no visible global function definition for
     ‘runif’
    stripes: no visible global function definition for ‘grey’
    placeLabels,projAxes: no visible global function definition for ‘tail’
    Undefined global functions or variables:
     aggregate approx chull complete.cases cor cov cutree density dist
     grey hcl kruskal.test median optim p.adjust quantile rnorm runif
     solve_LSAP tail
    Consider adding
     importFrom("grDevices", "chull", "grey", "hcl")
     importFrom("stats", "aggregate", "approx", "complete.cases", "cor",
     "cov", "cutree", "density", "dist", "kruskal.test",
     "median", "optim", "p.adjust", "quantile", "rnorm", "runif")
     importFrom("utils", "tail")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.3-4
Check: pragmas in C/C++ headers and code
Result: FAIL
    
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.3-4
Check: compiled code
Result: NOTE
    File ‘flexclust/libs/flexclust.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.3-4
Check: tests
Result: ERROR
     Running ‘boot.R’
     Running ‘disttests.R’
     Running ‘grouping.R’
     Running ‘plots.R’
     Running ‘weights.R’
    Running the tests in ‘tests/disttests.R’ failed.
    Complete output:
     > library(flexclust)
     Loading required package: grid
     Loading required package: lattice
     Loading required package: modeltools
     Loading required package: stats4
     >
     > ## create a random matrix
     > x <- matrix(rnorm(1000), ncol=4)
     > rownames(x) <- 1:nrow(x)
     >
     > ## test canberra at margin
     > x[1:10,1] <- 0
     > x[1:20,2] <- 0
     > x[1:30,3] <- 0
     >
     > stopifnot(all.equal(dist2(x,x,"eucl"), as.matrix(dist(x, "eucl"))))
     > stopifnot(all.equal(dist2(x,x,"man"), as.matrix(dist(x, "man"))))
     > stopifnot(all.equal(dist2(x,x,"max"), as.matrix(dist(x, "max"))))
     > stopifnot(all.equal(dist2(x,x,"bin"), as.matrix(dist(x, "bin"))))
     > stopifnot(all.equal(dist2(x,x,"can"), as.matrix(dist(x, "can"))))
     Error: dist2(x, x, "can") and as.matrix(dist(x, "can")) are not equal:
     Mean relative difference: 0.8735937
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.3-4
Check: tests
Result: ERROR
     Running ‘boot.R’
     Running ‘disttests.R’
     Running ‘grouping.R’
     Running ‘plots.R’
     Running ‘weights.R’
    Running the tests in ‘tests/disttests.R’ failed.
    Complete output:
     > library(flexclust)
     Loading required package: grid
     Loading required package: lattice
     Loading required package: modeltools
     Loading required package: stats4
     >
     > ## create a random matrix
     > x <- matrix(rnorm(1000), ncol=4)
     > rownames(x) <- 1:nrow(x)
     >
     > ## test canberra at margin
     > x[1:10,1] <- 0
     > x[1:20,2] <- 0
     > x[1:30,3] <- 0
     >
     > stopifnot(all.equal(dist2(x,x,"eucl"), as.matrix(dist(x, "eucl"))))
     > stopifnot(all.equal(dist2(x,x,"man"), as.matrix(dist(x, "man"))))
     > stopifnot(all.equal(dist2(x,x,"max"), as.matrix(dist(x, "max"))))
     > stopifnot(all.equal(dist2(x,x,"bin"), as.matrix(dist(x, "bin"))))
     > stopifnot(all.equal(dist2(x,x,"can"), as.matrix(dist(x, "can"))))
     Error: dist2(x, x, "can") and as.matrix(dist(x, "can")) are not equal:
     Mean relative difference: 0.9236376
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.3-4
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'boot.R' [3s]
     Running 'disttests.R' [1s]
     Running 'grouping.R' [3s]
     Running 'plots.R' [5s]
     Running 'weights.R' [2s]
    Running the tests in 'tests/disttests.R' failed.
    Last 13 lines of output:
     > rownames(x) <- 1:nrow(x)
     >
     > ## test canberra at margin
     > x[1:10,1] <- 0
     > x[1:20,2] <- 0
     > x[1:30,3] <- 0
     >
     > stopifnot(all.equal(dist2(x,x,"eucl"), as.matrix(dist(x, "eucl"))))
     > stopifnot(all.equal(dist2(x,x,"man"), as.matrix(dist(x, "man"))))
     > stopifnot(all.equal(dist2(x,x,"max"), as.matrix(dist(x, "max"))))
     > stopifnot(all.equal(dist2(x,x,"bin"), as.matrix(dist(x, "bin"))))
     > stopifnot(all.equal(dist2(x,x,"can"), as.matrix(dist(x, "can"))))
     Error: dist2(x, x, "can") and as.matrix(dist(x, "can")) are not equal:
     Mean relative difference: 0.8878574
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.3-4
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'boot.R' [3s]
     Running 'disttests.R' [1s]
     Running 'grouping.R' [3s]
     Running 'plots.R' [5s]
     Running 'weights.R' [2s]
    Running the tests in 'tests/disttests.R' failed.
    Last 13 lines of output:
     > rownames(x) <- 1:nrow(x)
     >
     > ## test canberra at margin
     > x[1:10,1] <- 0
     > x[1:20,2] <- 0
     > x[1:30,3] <- 0
     >
     > stopifnot(all.equal(dist2(x,x,"eucl"), as.matrix(dist(x, "eucl"))))
     > stopifnot(all.equal(dist2(x,x,"man"), as.matrix(dist(x, "man"))))
     > stopifnot(all.equal(dist2(x,x,"max"), as.matrix(dist(x, "max"))))
     > stopifnot(all.equal(dist2(x,x,"bin"), as.matrix(dist(x, "bin"))))
     > stopifnot(all.equal(dist2(x,x,"can"), as.matrix(dist(x, "can"))))
     Error: dist2(x, x, "can") and as.matrix(dist(x, "can")) are not equal:
     Mean relative difference: 0.8765519
     Execution halted
Flavor: r-devel-windows-ix86+x86_64