CRAN Package Check Results for Package refund

Last updated on 2016-07-24 19:49:04.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-15 5.91 116.84 122.75 ERROR
r-devel-linux-x86_64-debian-gcc 0.1-15 8.03 112.76 120.80 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1-15 127.55 ERROR
r-devel-osx-x86_64-clang 0.1-15 164.05 ERROR
r-devel-windows-ix86+x86_64 0.1-15 14.00 170.00 184.00 ERROR
r-patched-linux-x86_64 0.1-15 6.38 109.11 115.49 ERROR
r-patched-solaris-sparc 0.1-15 1184.20 ERROR
r-patched-solaris-x86 0.1-15 213.20 ERROR
r-release-linux-x86_64 0.1-15 6.58 112.05 118.63 ERROR
r-release-osx-x86_64-mavericks 0.1-15 OK
r-release-windows-ix86+x86_64 0.1-15 15.00 200.00 215.00 ERROR
r-oldrel-windows-ix86+x86_64 0.1-15 23.00 208.00 231.00 ERROR

Check Details

Version: 0.1-15
Check: examples
Result: ERROR
    Running examples in ‘refund-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: pwcv
    > ### Title: Pointwise cross-validation for function-on-scalar regression
    > ### Aliases: pwcv
    >
    > ### ** Examples
    >
    > require(fda)
    Loading required package: fda
    Loading required package: splines
    Loading required package: Matrix
    
    Attaching package: ‘fda’
    
    The following object is masked from ‘package:graphics’:
    
     matplot
    
    > # Canadian weather example from Reiss et al. (2010).
    > # The first two lines are taken from the fRegress.CV help file (package fda)
    > smallbasis <- create.fourier.basis(c(0, 365), 25)
    > tempfd <- smooth.basis(day.5,
    + CanadianWeather$dailyAv[,,"Temperature.C"], smallbasis)$fd
    >
    > # Model matrices for "latitude" and "region" models
    > Xreg = cbind(1, model.matrix(~factor(CanadianWeather$region)-1))
    > Xlat = model.matrix(~CanadianWeather$coord[,1])
    >
    > # Fit each model using fosr() to obtain lambda values for pwcv()
    > Lreg = matrix(c(0,1,1,1,1), 1) # constraint for region model
    > regionmod = fosr(fdobj=tempfd, X=Xreg, con=Lreg, method="OLS")
    Finding optimal lambda by optimize()...
    Error in if (sum(fix.ind)) { : argument is not interpretable as logical
    Calls: fosr -> amc -> fitter -> do.call -> gam.setup
    Execution halted
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-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64