CRAN Package Check Results for Package gmnl

Last updated on 2018-05-14 01:46:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-3 10.25 67.07 77.32 ERROR
r-devel-linux-x86_64-debian-gcc 1.1-3 6.46 57.57 64.03 ERROR
r-devel-linux-x86_64-fedora-clang 1.1-3 103.39 OK
r-devel-linux-x86_64-fedora-gcc 1.1-3 102.21 OK
r-devel-windows-ix86+x86_64 1.1-3 13.00 98.00 111.00 OK
r-patched-linux-x86_64 1.1-3 7.50 63.48 70.98 ERROR
r-patched-solaris-x86 1.1-3 136.10 OK
r-release-linux-x86_64 1.1-3 7.65 63.79 71.44 ERROR
r-release-windows-ix86+x86_64 1.1-3 13.00 98.00 111.00 OK
r-release-osx-x86_64 1.1-3 OK
r-oldrel-windows-ix86+x86_64 1.1-3 12.00 72.00 84.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