CRAN Package Check Results for Package plsdof

Last updated on 2018-07-20 09:48:57 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-7 2.81 34.31 37.12 ERROR
r-devel-linux-x86_64-debian-gcc 0.2-7 1.94 30.61 32.55 ERROR
r-devel-linux-x86_64-fedora-clang 0.2-7 50.46 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2-7 48.49 NOTE
r-devel-windows-ix86+x86_64 0.2-7 5.00 74.00 79.00 NOTE
r-patched-linux-x86_64 0.2-7 2.12 39.37 41.49 ERROR
r-patched-solaris-x86 0.2-7 79.10 NOTE
r-release-linux-x86_64 0.2-7 2.88 39.56 42.44 ERROR
r-release-windows-ix86+x86_64 0.2-7 6.00 49.00 55.00 NOTE
r-release-osx-x86_64 0.2-7 NOTE
r-oldrel-windows-ix86+x86_64 0.2-7 5.00 48.00 53.00 NOTE
r-oldrel-osx-x86_64 0.2-7 NOTE

Check Details

Version: 0.2-7
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     coef.plsdof vcov.plsdof
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    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-patched-solaris-x86, r-release-linux-x86_64

Version: 0.2-7
Check: R code for possible problems
Result: NOTE
    compute.lower.bound: no visible global function definition for ‘cor’
    kernel.pls.fit: no visible binding for global variable ‘sd’
    linear.pls.fit: no visible binding for global variable ‘sd’
    pcr: no visible binding for global variable ‘sd’
    pcr: no visible global function definition for ‘cor’
    pcr.cv: no visible global function definition for ‘cor’
    pcr.cv: no visible global function definition for ‘plot’
    pls.model: no visible binding for global variable ‘sd’
    ridge.cv: no visible global function definition for ‘coef’
    ridge.cv: no visible global function definition for ‘cor’
    ridge.cv: no visible global function definition for ‘plot’
    Undefined global functions or variables:
     coef cor plot sd
    Consider adding
     importFrom("graphics", "plot")
     importFrom("stats", "coef", "cor", "sd")
    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: 0.2-7
Check: examples
Result: ERROR
    Running examples in ‘plsdof-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plsdof-package
    > ### Title: Degrees of Freedom and Statistical Inference for Partial Least
    > ### Squares Regression
    > ### Aliases: plsdof-package plsdof
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > # Boston Housing data
    > data(Boston)
    > X<-as.matrix(Boston[,-14])
    > y<-as.vector(Boston[,14])
    >
    > # compute PLS coefficients for the first 5 components and plot Degrees of Freedom
    >
    > my.pls1<-pls.model(X,y,m=5,compute.DoF=TRUE)
    >
    > plot(0:5,my.pls1$DoF,pch="*",cex=3,xlab="components",ylab="DoF",ylim=c(0,14))
    >
    > # add naive estimate
    > lines(0:5,1:6,lwd=3)
    >
    > # model selection with the Bayesian Information criterion
    >
    > mypls2<-pls.ic(X,y,criterion="bic")
    >
    > # model selection based on cross-validation.
    > # returns the estimated covariance matrix of the regression coefficients
    >
    > mypls3<-pls.cv(X,y,compute.covariance=TRUE)
    > my.vcov<-vcov(mypls3)
    Error in UseMethod("vcov") :
     no applicable method for 'vcov' applied to an object of class "plsdof"
    Calls: vcov
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64