CRAN Package Check Results for Package inca

Last updated on 2018-08-22 09:48:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.3 40.47 58.91 99.38 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.3 28.91 48.15 77.06 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.3 127.45 OK
r-devel-linux-x86_64-fedora-gcc 0.0.3 113.99 OK
r-devel-windows-ix86+x86_64 0.0.3 54.00 92.00 146.00 OK
r-patched-linux-x86_64 0.0.3 31.61 48.71 80.32 ERROR
r-patched-solaris-x86 0.0.3 140.40 OK
r-release-linux-x86_64 0.0.3 30.87 48.42 79.29 ERROR
r-release-windows-ix86+x86_64 0.0.3 76.00 157.00 233.00 OK
r-release-osx-x86_64 0.0.3 OK
r-oldrel-windows-ix86+x86_64 0.0.3 56.00 81.00 137.00 OK
r-oldrel-osx-x86_64 0.0.3 OK

Check Details

Version: 0.0.3
Check: examples
Result: ERROR
    Running examples in ‘inca-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: intcalibrate
    > ### Title: Integer Calibration Function
    > ### Aliases: intcalibrate
    >
    > ### ** Examples
    >
    > library(inca)
    > set.seed(0)
    > w <- rpois(150, 4)
    > data <- matrix(rbinom(150000, 1, .3) * rpois(150000, 4), 1000, 150)
    > y <- data %*% w
    > w <- runif(150, 0, 7.5)
    > print(sum(abs(y - data %*% w)))
    [1] 65229.64
    > cw <- intcalibrate(w, ~. + 0, y, lower = 1, upper = 7, sparse = TRUE, data = data)
    Error in NextMethod("model.matrix", data = data, contrasts.arg = object$contrasts) :
     no method to invoke
    Calls: intcalibrate -> model.matrix.lm -> NextMethod
    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