CRAN Package Check Results for Package plsdof

Last updated on 2018-05-27 00:46:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-7 2.42 39.40 41.82 ERROR
r-devel-linux-x86_64-debian-gcc 0.2-7 1.98 30.36 32.34 ERROR
r-devel-linux-x86_64-fedora-clang 0.2-7 51.39 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2-7 50.57 NOTE
r-devel-windows-ix86+x86_64 0.2-7 4.00 58.00 62.00 NOTE
r-patched-linux-x86_64 0.2-7 2.49 38.42 40.91 ERROR
r-patched-solaris-x86 0.2-7 76.60 NOTE
r-release-linux-x86_64 0.2-7 2.15 37.99 40.14 ERROR
r-release-windows-ix86+x86_64 0.2-7 8.00 54.00 62.00 NOTE
r-release-osx-x86_64 0.2-7 NOTE
r-oldrel-windows-ix86+x86_64 0.2-7 5.00 52.00 57.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