CRAN Package Check Results for Package knnGarden

Last updated on 2020-08-12 06:48:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 2.32 20.27 22.59 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 1.46 16.38 17.84 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 35.88 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 26.37 ERROR
r-devel-windows-ix86+x86_64 1.0.1 7.00 46.00 53.00 ERROR
r-patched-linux-x86_64 1.0.1 2.08 21.74 23.82 NOTE
r-patched-solaris-x86 1.0.1 41.50 NOTE
r-release-linux-x86_64 1.0.1 2.33 21.11 23.44 NOTE
r-release-macos-x86_64 1.0.1 NOTE
r-release-windows-ix86+x86_64 1.0.1 7.00 32.00 39.00 NOTE
r-oldrel-macos-x86_64 1.0.1 NOTE
r-oldrel-windows-ix86+x86_64 1.0.1 5.00 43.00 48.00 NOTE

Check Details

Version: 1.0.1
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
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-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.1
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: 'cluster'
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.1
Check: R code for possible problems
Result: NOTE
    dataFiller : central.value: no visible global function definition for
     'median'
    dataFiller: no visible global function definition for 'daisy'
    dataFiller: no visible global function definition for 'complete.cases'
    knnMCN: no visible global function definition for 'cov'
    knnVCN: no visible global function definition for 'dist'
    Undefined global functions or variables:
     complete.cases cov daisy dist median
    Consider adding
     importFrom("stats", "complete.cases", "cov", "dist", "median")
    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-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.1
Check: Rd line widths
Result: NOTE
    Rd file 'knnMCN.Rd':
     \examples lines wider than 100 characters:
     ") ", "you have selected is bigger than the capacity of one class in your training data set",
     stop("\nWarnings:\nsample variance-covariance matrix is singular,\nand larger class sample capacity is required ,\nor you can t ... [TRUNCATED]
     stop("\nWarnings:\nsample variance-covariance matrix is singular,\nand larger class sample capacity is required ,\nor y ... [TRUNCATED]
    
    Rd file 'knnVCN.Rd':
     \examples lines wider than 100 characters:
     ") ", "you have selected is bigger than the capacity of one class in your training data set",
    
    These lines will be truncated in the PDF manual.
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-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in 'knnGarden-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: knnMCN
    > ### Title: k-Nearest Neighbour Classification of Mahalanobis Distance
    > ### Version
    > ### Aliases: knnMCN
    > ### Keywords: knn Mahalanobis
    >
    > ### ** Examples
    >
    > library(knnGarden)
    > data(iris)
    >
    > ## Define data
    > TrnX=iris[c(1:20,80:100,140:150),1:4]
    > OrigTrnG=iris[c(1:20,80:100,140:150),5]
    > #
    > TstX<-iris[c(1:20,50:70,120:140),1:4]
    > #or
    > TstX<-NULL
    > ## Call function
    > knnMCN(TrnX=TrnX,OrigTrnG=OrigTrnG,TstX=TstX,ShowObs=FALSE,K=5)
    Error in solve.default(cov(TrnX[which(TrnTotal[, 1] == ElmTrnG[1]), ]), :
     the LINPACK argument has been defunct since R 3.1.0
    Calls: knnMCN -> solve -> solve.default
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘stats’
     All declared Imports should be used.
    Package in Depends field not imported from: ‘cluster’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in ‘knnGarden-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: knnMCN
    > ### Title: k-Nearest Neighbour Classification of Mahalanobis Distance
    > ### Version
    > ### Aliases: knnMCN
    > ### Keywords: knn Mahalanobis
    >
    > ### ** Examples
    >
    > library(knnGarden)
    > data(iris)
    >
    > ## Define data
    > TrnX=iris[c(1:20,80:100,140:150),1:4]
    > OrigTrnG=iris[c(1:20,80:100,140:150),5]
    > #
    > TstX<-iris[c(1:20,50:70,120:140),1:4]
    > #or
    > TstX<-NULL
    > ## Call function
    > knnMCN(TrnX=TrnX,OrigTrnG=OrigTrnG,TstX=TstX,ShowObs=FALSE,K=5)
    Error in solve.default(cov(TrnX[which(TrnTotal[, 1] == ElmTrnG[1]), ]), :
     the LINPACK argument has been defunct since R 3.1.0
    Calls: knnMCN -> solve -> solve.default
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64