CRAN Package Check Results for Package mdmb

Last updated on 2021-12-03 23:50:03 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5-8 70.84 84.27 155.11 OK
r-devel-linux-x86_64-debian-gcc 1.5-8 49.29 64.39 113.68 ERROR
r-devel-linux-x86_64-fedora-clang 1.5-8 241.03 OK
r-devel-linux-x86_64-fedora-gcc 1.5-8 198.81 OK
r-devel-windows-x86_64-new-UL 1.5-8 101.00 146.00 247.00 OK
r-devel-windows-x86_64-new-TK 1.5-8 OK
r-devel-windows-x86_64-old 1.5-8 108.00 85.00 193.00 OK
r-patched-linux-x86_64 1.5-8 61.93 79.07 141.00 OK
r-release-linux-x86_64 1.5-8 62.20 78.78 140.98 OK
r-release-macos-arm64 1.5-8 NOTE
r-release-macos-x86_64 1.5-8 OK
r-release-windows-ix86+x86_64 1.5-8 184.00 143.00 327.00 OK
r-oldrel-macos-x86_64 1.5-8 OK
r-oldrel-windows-ix86+x86_64 1.5-8 186.00 138.00 324.00 OK

Check Details

Version: 1.5-8
Check: examples
Result: ERROR
    Running examples in ‘mdmb-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: mdmb_regression
    > ### Title: Several Regression Models with Prior Distributions and Sampling
    > ### Weights
    > ### Aliases: logistic_regression coef.logistic_regression
    > ### vcov.logistic_regression logLik.logistic_regression
    > ### summary.logistic_regression predict.logistic_regression
    > ### yjt_regression coef.yjt_regression vcov.yjt_regression
    > ### logLik.yjt_regression summary.yjt_regression predict.yjt_regression
    > ### bct_regression coef.bct_regression vcov.bct_regression
    > ### logLik.bct_regression summary.bct_regression predict.bct_regression
    > ### oprobit_regression coef.oprobit_regression vcov.oprobit_regression
    > ### logLik.oprobit_regression summary.oprobit_regression
    > ### predict.oprobit_regression
    >
    > ### ** Examples
    >
    > #############################################################################
    > # EXAMPLE 1: Simulated example logistic regression
    > #############################################################################
    >
    > #--- simulate dataset
    > set.seed(986)
    > N <- 500
    > x <- stats::rnorm(N)
    > y <- 1*( stats::runif(N) < stats::plogis( -0.8 + 1.2 * x ) )
    > data <- data.frame( x=x, y=y )
    >
    > #--- estimate logistic regression with mdmb::logistic_regression
    > mod1 <- mdmb::logistic_regression( y ~ x, data=data )
    Loading required namespace: MASS
    > summary(mod1)
    -----------------------------------------------------------------
    mdmb 1.5-8 (2021-01-21 13:00:54)
    R Under development (unstable) (2021-12-01 r81279) x86_64, linux-gnu | nodename=gimli2 | login=hornik
    Date of Analysis: 2021-12-03 08:40:07
    Time difference of 0.07427549 secs
    Computation Time: 0.07427549
    
    
    Call:
    mdmb::logistic_regression(formula = y ~ x, data = data)
    
    Logistic regression
    
    -----------------------------------------------------------------
    Optimizer = optim
    Converged = TRUE
    Convergence code = 0
    
    Number of observations = 500
    Number of iterations = 16
    
    Deviance = 546.1
    Log likelihood = -273.05
    Log prior = 0
    Log posterior = -273.05
    
    Number of estimated parameters = 2
     Number of estimated beta parameters = 2
     Number of estimated sigma parameters = 0
     Number of estimated lambda parameters = 0
     Number of estimated df parameters = 0
     Number of estimated threshold parameters = 0
    
    AIC = 550.1 | penalty = 4 | AIC=-2*LL + 2*p
    AICc = 550.13 | penalty = 4.02 | AICc=-2*LL + 2*p + 2*p*(p+1)/(n-p-1) (bias corrected AIC)
    BIC = 558.53 | penalty = 12.43 | BIC=-2*LL + log(n)*p
    CAIC = 560.53 | penalty = 14.43 | CAIC=-2*LL + [log(n)+1]*p (consistent AIC)
    
    -----------------------------------------------------------------
    Estimated Parameters
    Error in Math.data.frame(list(parm = c("(Intercept)", "x"), est = c(-0.633111957160489, :
     non-numeric-alike variable(s) in data frame: parm
    Calls: summary ... mdmb_regression_summary -> <Anonymous> -> Math.data.frame
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.5-8
Check: package dependencies
Result: NOTE
    Package which this enhances but not available for checking: ‘JointAI’
Flavor: r-release-macos-arm64