CRAN Package Check Results for Package mice

Last updated on 2015-04-21 02:48:37.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.22 8.20 55.25 63.45 NOTE
r-devel-linux-x86_64-debian-gcc 2.22 10.18 55.44 65.62 NOTE
r-devel-linux-x86_64-fedora-clang 2.22 123.28 NOTE
r-devel-linux-x86_64-fedora-gcc 2.22 116.98 NOTE
r-devel-osx-x86_64-clang 2.22 102.75 NOTE
r-devel-windows-ix86+x86_64 2.22 39.00 169.00 208.00 NOTE
r-patched-linux-x86_64 2.22 8.52 56.54 65.06 NOTE
r-patched-solaris-sparc 2.22 774.10 NOTE
r-patched-solaris-x86 2.22 148.90 NOTE
r-release-linux-x86_64 2.22 8.35 53.07 61.42 NOTE
r-release-osx-x86_64-mavericks 2.22 ERROR
r-release-osx-x86_64-snowleopard 2.22 NOTE
r-release-windows-ix86+x86_64 2.22 28.00 118.00 146.00 NOTE
r-oldrel-windows-ix86+x86_64 2.22 28.00 138.00 166.00 NOTE

Check Details

Version: 2.22
Check: dependencies in R code
Result: NOTE
    'library' or 'require' calls in package code:
     ‘lme4’ ‘nlme’ ‘pan’ ‘survival’
     Please use :: or requireNamespace() instead.
     See section 'Suggested packages' in the 'Writing R Extensions' manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-osx-x86_64-snowleopard, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 2.22
Check: R code for possible problems
Result: NOTE
    appendbreak: no visible global function definition for ‘bs’
    bwplot.mids: no visible global function definition for
     ‘lattice.getOption’
    bwplot.mids: no visible global function definition for
     ‘latticeParseFormula’
    densityplot.mids: no visible global function definition for
     ‘lattice.getOption’
    densityplot.mids: no visible global function definition for
     ‘latticeParseFormula’
    extractBS: no visible global function definition for ‘ranef’
    extractBS: no visible global function definition for ‘fixef’
    mice.impute.2l.pan: no visible global function definition for ‘pan’
    nelsonaalen: no visible global function definition for ‘basehaz’
    nelsonaalen: no visible global function definition for ‘coxph’
    plot.mids : strip.combined: no visible global function definition for
     ‘panel.rect’
    plot.mids : strip.combined: no visible global function definition for
     ‘panel.text’
    pool: no visible global function definition for ‘fixef’
    stripplot.mids: no visible global function definition for
     ‘lattice.getOption’
    stripplot.mids: no visible global function definition for
     ‘latticeParseFormula’
    xyplot.mids: no visible global function definition for
     ‘lattice.getOption’
    xyplot.mids: no visible global function definition for
     ‘latticeParseFormula’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-osx-x86_64-snowleopard, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 2.22
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: ‘lme4’ ‘Zelig’
Flavor: r-release-osx-x86_64-mavericks

Version: 2.22
Check: examples
Result: ERROR
    Running examples in ‘mice-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: mice.impute.2l.pan
    > ### Title: Imputation by a two-level normal model using 'pan'
    > ### Aliases: 2l.pan mice.impute.2l.pan
    >
    > ### ** Examples
    >
    > ###################################
    > # simulate some data
    > # two-level regression model with fixed slope
    >
    > # number of groups
    > G <- 250
    > # number of persons
    > n <- 20
    > # regression parameter
    > beta <- .3
    > # intraclass correlation
    > rho <- .30
    > # correlation with missing response
    > rho.miss <- .10
    > # missing proportion
    > missrate <- .50
    > y1 <- rep( rnorm( G , sd = sqrt( rho ) ) , each=n ) + rnorm(G*n , sd = sqrt( 1 - rho ))
    > x <- rnorm( G*n )
    > y <- y1 + beta * x
    > dfr0 <- dfr <- data.frame( "group" = rep(1:G , each=n ) , "x" = x , "y" = y )
    > dfr[ rho.miss * x + rnorm( G*n , sd = sqrt( 1 - rho.miss ) ) < qnorm( missrate ) , "y" ] <- NA
    >
    > #.....
    > # empty imputation in mice
    > imp0 <- mice( as.matrix(dfr) , maxit=0 )
    > predM <- imp0$predictorMatrix
    > impM <- imp0$method
    >
    > #...
    > # specify predictor matrix and imputationMethod
    > predM1 <- predM
    > predM1["y","group"] <- -2
    > predM1["y","x"] <- 1 # fixed x effects imputation
    > impM1 <- impM
    > impM1["y"] <- "2l.pan"
    >
    > # multilevel imputation
    > imp1 <- mice( as.matrix( dfr ) , m = 1 , predictorMatrix = predM1 ,
    + imputationMethod = impM1 , maxit=1 )
    
     iter imp variable
     1 1 yLoading required package: pan
    
    > # multilevel analysis
    > library(lme4)
    Error in library(lme4) : there is no package called ‘lme4’
    Execution halted
Flavor: r-release-osx-x86_64-mavericks

Version: 2.22
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘Zelig’
Flavor: r-release-osx-x86_64-snowleopard