CRAN Package Check Results for Package cobalt

Last updated on 2020-07-05 01:49:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.2.2 25.28 218.93 244.21 OK
r-devel-linux-x86_64-debian-gcc 4.2.2 20.62 160.07 180.69 OK
r-devel-linux-x86_64-fedora-clang 4.2.2 289.28 OK
r-devel-linux-x86_64-fedora-gcc 4.2.2 296.60 OK
r-devel-windows-ix86+x86_64 4.2.2 56.00 282.00 338.00 OK
r-patched-linux-x86_64 4.2.2 24.79 211.53 236.32 OK
r-patched-solaris-x86 4.2.2 362.60 OK
r-release-linux-x86_64 4.2.2 24.15 212.28 236.43 OK
r-release-osx-x86_64 4.2.1 ERROR
r-release-windows-ix86+x86_64 4.2.2 35.00 7.00 42.00 ERROR
r-oldrel-osx-x86_64 4.2.2 OK
r-oldrel-windows-ix86+x86_64 4.2.2 42.00 9.00 51.00 ERROR

Check Details

Version: 4.2.1
Check: examples
Result: ERROR
    Running examples in ‘cobalt-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: bal.tab.sbw
    > ### Title: Balance Statistics for sbw Objects
    > ### Aliases: bal.tab.sbwcau
    > ### Keywords: tables
    >
    > ### ** Examples
    >
    > library(sbw); data("lalonde", package = "cobalt")
    Loading required package: Matrix
    Loading required package: quadprog
    Loading required package: slam
    >
    > ## Stable balancing weights for the ATT
    > sbw.out <- sbw(splitfactor(lalonde, drop.first = "if2"),
    + ind = "treat",
    + bal = list(bal_cov = c("age", "educ", "race_black",
    + "race_hispan", "race_white",
    + "married", "nodegree",
    + "re74", "re75"),
    + bal_alg = FALSE,
    + bal_tol = .001),
    + par = list(par_est = "att"))
     quadprog optimizer is opening...
     Finding the optimal weights...
     Optimal weights found.
    > bal.tab(sbw.out, un = TRUE, poly = 2)
    Error in names(object) <- nm :
     'names' attribute [1] must be the same length as the vector [0]
    Calls: bal.tab ... do.call -> x2base.sbwcau -> process_weights -> setNames
    Execution halted
Flavor: r-release-osx-x86_64

Version: 4.2.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘cobalt_A0_basic_use.Rmd’ using rmarkdown
     cobalt (Version 4.2.1, Build Date: 2020-06-20 19:10:03 UTC)
    
    Attaching package: 'MatchIt'
    
    The following object is masked _by_ '.GlobalEnv':
    
     lalonde
    
    The following object is masked from 'package:cobalt':
    
     lalonde
    
    --- finished re-building ‘cobalt_A0_basic_use.Rmd’
    
    --- re-building ‘cobalt_A1_other_packages.Rmd’ using rmarkdown
    Loading required package: MASS
    ##
    ## Matching (Version 4.9-7, Build Date: 2020-02-05)
    ## See http://sekhon.berkeley.edu/matching for additional documentation.
    ## Please cite software as:
    ## Jasjeet S. Sekhon. 2011. ``Multivariate and Propensity Score Matching
    ## Software with Automated Balance Optimization: The Matching package for R.''
    ## Journal of Statistical Software, 42(7): 1-52.
    ##
    
    Loading required package: survival
    The optmatch package has an academic license. Enter relaxinfo() for more information.
    Loading required package: MatchIt
    
    Attaching package: 'MatchIt'
    
    The following object is masked _by_ '.GlobalEnv':
    
     lalonde
    
    The following object is masked from 'package:cobalt':
    
     lalonde
    
    Loading required package: nnet
    Loading required package: numDeriv
    Loading required package: glmnet
    Loading required package: Matrix
    Loaded glmnet 4.0-2
    CBPS: Covariate Balancing Propensity Score
    Version: 0.21
    Authors: Christian Fong [aut, cre],
     Marc Ratkovic [aut],
     Kosuke Imai [aut],
     Chad Hazlett [ctb],
     Xiaolin Yang [ctb],
     Sida Peng [ctb]
    
    ##
    ## ebal Package: Implements Entropy Balancing.
    
    ## See http://www.stanford.edu/~jhain/ for additional information.
    
    
    Loading required package: lattice
    Loading required package: slam
    Loading required package: Rglpk
    Using the GLPK callable library version 4.65
    Loading required package: quadprog
    Quitting from lines 249-264 (cobalt_A1_other_packages.Rmd)
    Error: processing vignette 'cobalt_A1_other_packages.Rmd' failed with diagnostics:
    'names' attribute [1] must be the same length as the vector [0]
    --- failed re-building ‘cobalt_A1_other_packages.Rmd’
    
    --- re-building ‘cobalt_A2_segmented_data.Rmd’ using rmarkdown
     cobalt (Version 4.2.1, Build Date: 2020-06-20 19:10:03 UTC)
    
    Attaching package: 'cobalt'
    
    The following object is masked from 'package:MatchIt':
    
     lalonde
    
    Warning: Standardized mean differences and raw mean differences are present in the same plot.
    Use the 'stars' argument to distinguish between them and appropriately label the x-axis.
    Warning: Standardized mean differences and raw mean differences are present in the same plot.
    Use the 'stars' argument to distinguish between them and appropriately label the x-axis.
    Warning: Standardized mean differences and raw mean differences are present in the same plot.
    Use the 'stars' argument to distinguish between them and appropriately label the x-axis.
    
    Attaching package: 'mice'
    
    The following objects are masked from 'package:base':
    
     cbind, rbind
    
    Loading required package: WeightIt
    
    Attaching package: 'MatchThem'
    
    The following object is masked from 'package:mice':
    
     pool
    
    Warning: Standardized mean differences and raw mean differences are present in the same plot.
    Use the 'stars' argument to distinguish between them and appropriately label the x-axis.
    --- finished re-building ‘cobalt_A2_segmented_data.Rmd’
    
    --- re-building ‘cobalt_A3_longitudinal_treat.Rmd’ using rmarkdown
     cobalt (Version 4.2.1, Build Date: 2020-06-20 19:10:03 UTC)
    --- finished re-building ‘cobalt_A3_longitudinal_treat.Rmd’
    
    --- re-building ‘cobalt_A4_love.plot.Rmd’ using rmarkdown
     cobalt (Version 4.2.1, Build Date: 2020-06-20 19:10:03 UTC)
    --- finished re-building ‘cobalt_A4_love.plot.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘cobalt_A1_other_packages.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-osx-x86_64

Version: 4.2.2
Check: package dependencies
Result: ERROR
    Package required and available but unsuitable version: 'backports'
    
    See section 'The DESCRIPTION file' in the 'Writing R Extensions'
    manual.
Flavors: r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64