CRAN Package Check Results for Package cSFM

Last updated on 2018-04-25 14:47:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1 4.17 65.53 69.70 ERROR
r-devel-linux-x86_64-debian-gcc 1.1 4.50 51.88 56.38 ERROR
r-devel-linux-x86_64-fedora-clang 1.1 96.40 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1 94.08 NOTE
r-devel-windows-ix86+x86_64 1.1 12.00 77.00 89.00 NOTE
r-patched-linux-x86_64 1.1 5.12 64.29 69.41 ERROR
r-patched-solaris-x86 1.1 162.10 NOTE
r-release-linux-x86_64 1.1 5.69 63.61 69.30 ERROR
r-release-windows-ix86+x86_64 1.1 12.00 77.00 89.00 NOTE
r-release-osx-x86_64 1.1 NOTE
r-oldrel-windows-ix86+x86_64 1.1 8.00 86.00 94.00 NOTE
r-oldrel-osx-x86_64 1.1 NOTE

Check Details

Version: 1.1
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     fitted.cSFM predict.cSFM predict.kpbb print.cSFM
    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: 1.1
Check: R code for possible problems
Result: NOTE
    D.SN: no visible global function definition for ‘dnorm’
    D.SN: no visible global function definition for ‘pnorm’
    beta2cp: no visible global function definition for ‘pnorm’
    cSFM.est: no visible global function definition for ‘optim’
    cSFM.est: no visible global function definition for ‘qnorm’
    cSFM.est: no visible global function definition for ‘cor’
    case2.b.initial: no visible global function definition for ‘var’
    case2.gr: no visible global function definition for ‘pnorm’
    case2.gr: no visible global function definition for ‘dnorm’
    case2.unmll.optim: no visible global function definition for ‘pnorm’
    cp2beta: no visible global function definition for ‘qnorm’
    data.generator.y.F: no visible global function definition for ‘cov2cor’
    data.generator.y.F: no visible global function definition for ‘rnorm’
    data.generator.y.F : <anonymous>: no visible global function definition
     for ‘pnorm’
    g: no visible global function definition for ‘dnorm’
    g: no visible global function definition for ‘pnorm’
    predict.cSFM : <anonymous>: no visible global function definition for
     ‘qnorm’
    predict.cSFM: no visible global function definition for ‘qnorm’
    predict.cSFM: no visible global function definition for ‘pnorm’
    Undefined global functions or variables:
     cor cov2cor dnorm optim pnorm qnorm rnorm var
    Consider adding
     importFrom("stats", "cor", "cov2cor", "dnorm", "optim", "pnorm",
     "qnorm", "rnorm", "var")
    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: 1.1
Check: examples
Result: ERROR
    Running examples in ‘cSFM-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: predict.kpbb
    > ### Title: Evaluate a predefined Kronecker product B-spline basis at
    > ### provided values
    > ### Aliases: predict.kpbb
    > ### Keywords: basis
    >
    > ### ** Examples
    >
    > data(data.simulation) # load benchmark data
    > y <- DST$obs # matrix of observation
    > y.valid <- DSV$obs # matrix of training data; include missing values
    > # generate bivariate basis using 3 knots for each direction
    > basis <- kpbb(DST$tp, DST$cp, nknots.tp = 3, nknots.cp = 3)
    > # linear regression
    > lm.fit <- lm(as.vector(y) ~ basis - 1)
    > # prediction
    > new.basis <- predict(basis, tp.valid = DSV$tp, cp.valid = DSV$cp)
    Error in UseMethod("predict") :
     no applicable method for 'predict' applied to an object of class "c('matrix', 'kpbb')"
    Calls: predict -> predict
    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