CRAN Package Check Results for Package gmnl

Last updated on 2018-10-19 01:46:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-3 7.58 75.81 83.39 ERROR
r-devel-linux-x86_64-debian-gcc 1.1-3 6.31 60.25 66.56 ERROR
r-devel-linux-x86_64-fedora-clang 1.1-3 102.71 OK
r-devel-linux-x86_64-fedora-gcc 1.1-3 98.79 OK
r-devel-windows-ix86+x86_64 1.1-3 17.00 116.00 133.00 OK
r-patched-linux-x86_64 1.1-3 5.56 64.69 70.25 ERROR
r-patched-solaris-x86 1.1-3 138.30 OK
r-release-linux-x86_64 1.1-3 7.25 64.97 72.22 ERROR
r-release-windows-ix86+x86_64 1.1-3 19.00 104.00 123.00 OK
r-release-osx-x86_64 1.1-3 OK
r-oldrel-windows-ix86+x86_64 1.1-3 8.00 107.00 115.00 OK
r-oldrel-osx-x86_64 1.1-3 OK

Check Details

Version: 1.1-3
Check: examples
Result: ERROR
    Running examples in ‘gmnl-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: getSummary.gmnl
    > ### Title: Get Model Summaries for Use with "mtable"
    > ### Aliases: getSummary.gmnl
    >
    > ### ** Examples
    >
    > ## Estimate MNL models
    > data("TravelMode", package = "AER")
    > library(mlogit)
    > TM <- mlogit.data(TravelMode, choice = "choice", shape = "long",
    + alt.levels = c("air", "train", "bus", "car"), chid.var = "individual")
    >
    > mnl.1 <- gmnl(choice ~ wait + vcost + travel + gcost | 0, data = TM)
    > mnl.2 <- gmnl(choice ~ wait + vcost | 0, data = TM)
    >
    > ## Table
    > library(memisc)
    Loading required package: lattice
    Loading required package: MASS
    
    Attaching package: ‘memisc’
    
    The following objects are masked from ‘package:stats’:
    
     contr.sum, contr.treatment, contrasts
    
    The following object is masked from ‘package:base’:
    
     as.array
    
    > mtable("MNL 1"= mnl.1, "MNL 2" = mnl.2,
    + summary.stats = c("N", "Log-likelihood", "BIC", "AIC"))
    Error in UseMethod("getSummary") :
     no applicable method for 'getSummary' applied to an object of class "gmnl"
    Calls: mtable -> lapply -> FUN
    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