CRAN Package Check Results for Package mclogit

Last updated on 2021-12-09 11:51:35 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.7.3 14.03 114.25 128.28 OK
r-devel-linux-x86_64-debian-gcc 0.8.7.3 10.35 84.43 94.78 OK
r-devel-linux-x86_64-fedora-clang 0.8.7.3 152.92 OK
r-devel-linux-x86_64-fedora-gcc 0.8.7.3 145.36 OK
r-devel-windows-x86_64-new-UL 0.8.7.3 24.00 138.00 162.00 OK
r-devel-windows-x86_64-new-TK 0.8.7.3 OK
r-devel-windows-x86_64-old 0.8.7.3 25.00 91.00 116.00 ERROR
r-patched-linux-x86_64 0.8.7.3 12.81 108.72 121.53 OK
r-release-linux-x86_64 0.8.7.3 12.12 107.96 120.08 OK
r-release-macos-arm64 0.8.7.3 OK
r-release-macos-x86_64 0.8.7.3 OK
r-release-windows-ix86+x86_64 0.8.7.3 21.00 120.00 141.00 OK
r-oldrel-macos-x86_64 0.8.7.3 OK
r-oldrel-windows-ix86+x86_64 0.8.7.3 28.00 124.00 152.00 OK

Check Details

Version: 0.8.7.3
Check: examples
Result: ERROR
    Running examples in 'mclogit-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: mblogit
    > ### Title: Baseline-Category Logit Models for Categorical and Multinomial
    > ### Responses
    > ### Aliases: mblogit print.mblogit summary.mblogit print.summary.mblogit
    > ### fitted.mblogit weights.mblogit print.mmblogit summary.mmblogit
    > ### print.summary.mmblogit
    >
    > ### ** Examples
    >
    > library(MASS) # For 'housing' data
    > library(nnet)
    > library(memisc)
    Loading required package: lattice
    
    Attaching package: 'memisc'
    
    The following object is masked from 'package:Matrix':
    
     as.array
    
    The following objects are masked from 'package:stats':
    
     contr.sum, contr.treatment, contrasts
    
    The following object is masked from 'package:base':
    
     as.array
    
    >
    > (house.mult<- multinom(Sat ~ Infl + Type + Cont, weights = Freq,
    + data = housing))
    # weights: 24 (14 variable)
    initial value 1846.767257
    iter 10 value 1747.045232
    final value 1735.041933
    converged
    Call:
    multinom(formula = Sat ~ Infl + Type + Cont, data = housing,
     weights = Freq)
    
    Coefficients:
     (Intercept) InflMedium InflHigh TypeApartment TypeAtrium TypeTerrace
    Medium -0.4192316 0.4464003 0.6649367 -0.4356851 0.1313663 -0.6665728
    High -0.1387453 0.7348626 1.6126294 -0.7356261 -0.4079808 -1.4123333
     ContHigh
    Medium 0.3608513
    High 0.4818236
    
    Residual Deviance: 3470.084
    AIC: 3498.084
    >
    >
    > (house.mblogit <- mblogit(Sat ~ Infl + Type + Cont, weights = Freq,
    + data = housing))
    
    Iteration 1 - deviance = 3493.764 - criterion = 0.9614469
    Iteration 2 - deviance = 3470.111 - criterion = 0.00681597
    Iteration 3 - deviance = 3470.084 - criterion = 7.82437e-06
    Iteration 4 - deviance = 3470.084 - criterion = 7.469596e-11
    converged
    
    Call: mblogit(formula = Sat ~ Infl + Type + Cont, data = housing, weights = Freq)
    
    Coefficients:
     Predictors
    Response categories (Intercept) InflMedium InflHigh TypeApartment
     Medium/Low -0.4192 0.4464 0.6649 -0.4357
     High/Low -0.1387 0.7349 1.6126 -0.7356
     Predictors
    Response categories TypeAtrium TypeTerrace ContHigh
     Medium/Low 0.1314 -0.6666 0.3609
     High/Low -0.4080 -1.4123 0.4818
    
    Null Deviance: 3694
    Residual Deviance: 3470
    >
    > summary(house.mult)
    Call:
    multinom(formula = Sat ~ Infl + Type + Cont, data = housing,
     weights = Freq)
    
    Coefficients:
     (Intercept) InflMedium InflHigh TypeApartment TypeAtrium TypeTerrace
    Medium -0.4192316 0.4464003 0.6649367 -0.4356851 0.1313663 -0.6665728
    High -0.1387453 0.7348626 1.6126294 -0.7356261 -0.4079808 -1.4123333
     ContHigh
    Medium 0.3608513
    High 0.4818236
    
    Std. Errors:
     (Intercept) InflMedium InflHigh TypeApartment TypeAtrium TypeTerrace
    Medium 0.1729344 0.1415572 0.1863374 0.1725327 0.2231065 0.2062532
    High 0.1592295 0.1369380 0.1671316 0.1552714 0.2114965 0.2001496
     ContHigh
    Medium 0.1323975
    High 0.1241371
    
    Residual Deviance: 3470.084
    AIC: 3498.084
    >
    > summary(house.mblogit)
    
    Call:
    mblogit(formula = Sat ~ Infl + Type + Cont, data = housing, weights = Freq)
    
    Equation for Medium vs Low:
     Estimate Std. Error z value Pr(>|z|)
    (Intercept) -0.4192 0.1729 -2.424 0.015342 *
    InflMedium 0.4464 0.1416 3.153 0.001613 **
    InflHigh 0.6649 0.1863 3.568 0.000359 ***
    TypeApartment -0.4357 0.1725 -2.525 0.011562 *
    TypeAtrium 0.1314 0.2231 0.589 0.555980
    TypeTerrace -0.6666 0.2063 -3.232 0.001230 **
    ContHigh 0.3609 0.1324 2.726 0.006420 **
    
    Equation for High vs Low:
     Estimate Std. Error z value Pr(>|z|)
    (Intercept) -0.1387 0.1592 -0.871 0.383570
    InflMedium 0.7349 0.1369 5.366 8.03e-08 ***
    InflHigh 1.6126 0.1671 9.649 < 2e-16 ***
    TypeApartment -0.7356 0.1553 -4.738 2.16e-06 ***
    TypeAtrium -0.4080 0.2115 -1.929 0.053730 .
    TypeTerrace -1.4123 0.2001 -7.056 1.71e-12 ***
    ContHigh 0.4818 0.1241 3.881 0.000104 ***
    ---
    Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
    
    Null Deviance: 3694
    Residual Deviance: 3470
    Number of Fisher Scoring iterations: 4
    Number of observations: 1681
    
    >
    > mtable(house.mblogit)
    Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
    Execution halted
Flavor: r-devel-windows-x86_64-old