CRAN Package Check Results for Package yaImpute

Last updated on 2014-04-23 12:48:31.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-21 5.07 28.88 33.96 OK
r-devel-linux-x86_64-debian-gcc 1.0-21 5.37 28.72 34.09 OK
r-devel-linux-x86_64-fedora-clang 1.0-21 70.04 OK
r-devel-linux-x86_64-fedora-gcc 1.0-21 58.47 OK
r-devel-osx-x86_64-clang 1.0-21 63.70 OK
r-devel-osx-x86_64-gcc 1.0-21 ERROR
r-devel-windows-ix86+x86_64 1.0-21 27.00 54.00 81.00 OK
r-patched-linux-x86_64 1.0-21 5.31 28.86 34.17 OK
r-patched-solaris-sparc 1.0-21 347.70 OK
r-patched-solaris-x86 1.0-21 79.70 OK
r-release-linux-ix86 1.0-21 10.00 49.00 59.00 OK
r-release-linux-x86_64 1.0-21 5.37 28.67 34.04 OK
r-release-osx-x86_64-mavericks 1.0-21 OK
r-release-osx-x86_64-snowleopard 1.0-21 OK
r-release-windows-ix86+x86_64 1.0-21 28.00 57.00 85.00 OK
r-oldrel-windows-ix86+x86_64 1.0-21 31.00 68.00 99.00 OK

Check Details

Version: 1.0-21
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: ‘vegan’ ‘ccaPP’
Flavor: r-devel-osx-x86_64-gcc

Version: 1.0-21
Check: R code for possible problems
Result: NOTE
    varSelection: no visible binding for global variable ‘mclapply’
    yai : msn3cntr: no visible global function definition for ‘fastMAD’
    yai: no visible binding for global variable ‘ccaGrid’
    yai: no visible binding for global variable ‘ccaProj’
    yai: no visible global function definition for ‘cca’
    yai: no visible global function definition for ‘rda’
Flavor: r-devel-osx-x86_64-gcc

Version: 1.0-21
Check: Rd cross-references
Result: NOTE
    Packages unavailable to check Rd xrefs: ‘vegan’, ‘ccaPP’
Flavor: r-devel-osx-x86_64-gcc

Version: 1.0-21
Check: examples
Result: ERROR
    Running examples in ‘yaImpute-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: yai
    > ### Title: Find K nearest neighbors
    > ### Aliases: yai yaImpute
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    >
    > require (yaImpute)
    >
    > data(iris)
    >
    > # set the random number seed so that example results are consistent
    > # normally, leave out this command
    > set.seed(12345)
    >
    > # form some test data, y's are defined only for reference
    > # observations.
    > refs=sample(rownames(iris),50)
    > x <- iris[,1:2] # Sepal.Length Sepal.Width
    > y <- iris[refs,3:4] # Petal.Length Petal.Width
    >
    > # build yai objects using 2 methods
    > msn <- yai(x=x,y=y)
    > mal <- yai(x=x,y=y,method="mahalanobis")
    > # compare these results using the generalized mean distances. mal wins!
    > grmsd(mal,msn)
     mal msn
    1.007285 1.246437
    >
    > # use projection pursuit and specify ppControl (loads package ccaPP)
    > if (require(ccaPP))
    + {
    + msnPP <- yai(x=x,y=y,method="msnPP",ppControl=c(method="kendall",search="proj"))
    + grmsd(mal,msnPP,msn)
    + }
    Loading required package: ccaPP
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called ‘ccaPP’
    >
    > #############
    > # running the following examples will load packages vegan
    > # and randomForest, and are more complicated.
    > #############
    >
    > data(MoscowMtStJoe)
    >
    > # convert polar slope and aspect measurements to cartesian
    > # (which is the same as Stage's (1976) transformation).
    >
    > polar <- MoscowMtStJoe[,40:41]
    > polar[,1] <- polar[,1]*.01 # slope proportion
    > polar[,2] <- polar[,2]*(pi/180) # aspect radians
    > cartesian <- t(apply(polar,1,function (x)
    + {return (c(x[1]*cos(x[2]),x[1]*sin(x[2]))) }))
    > colnames(cartesian) <- c("xSlAsp","ySlAsp")
    > x <- cbind(MoscowMtStJoe[,37:39],cartesian,MoscowMtStJoe[,42:64])
    > y <- MoscowMtStJoe[,1:35]
    >
    > mal <- yai(x=x, y=y, method="mahalanobis", k=1)
    > gnn <- yai(x=x, y=y, method="gnn", k=1)
    Loading required package: vegan
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called ‘vegan’
    Error in yai(x = x, y = y, method = "gnn", k = 1) :
     install vegan and try again
    Execution halted
Flavor: r-devel-osx-x86_64-gcc