CRAN Package Check Results for Package optweight

Last updated on 2020-08-07 01:49:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.5 12.64 85.24 97.88 OK
r-devel-linux-x86_64-debian-gcc 0.2.5 10.03 63.29 73.32 OK
r-devel-linux-x86_64-fedora-clang 0.2.5 122.66 OK
r-devel-linux-x86_64-fedora-gcc 0.2.5 112.84 OK
r-devel-windows-ix86+x86_64 0.2.5 34.00 94.00 128.00 OK
r-patched-linux-x86_64 0.2.5 11.83 82.53 94.36 OK
r-patched-solaris-x86 0.2.5 166.60 OK
r-release-linux-x86_64 0.2.5 13.08 84.24 97.32 OK
r-release-macos-x86_64 0.2.5 OK
r-release-windows-ix86+x86_64 0.2.5 33.00 119.00 152.00 OK
r-oldrel-macos-x86_64 0.2.5 OK
r-oldrel-windows-ix86+x86_64 0.2.5 20.00 85.00 105.00 ERROR

Check Details

Version: 0.2.5
Check: examples
Result: ERROR
    Running examples in 'optweight-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: optweight
    > ### Title: Estimate Balancing Weights Using Optimization
    > ### Aliases: optweight print.optweight print.optweightMSM
    >
    > ### ** Examples
    >
    > library("cobalt")
     cobalt (Version 4.2.2, Build Date: 2020-06-26 15:50:03 UTC)
    > data("lalonde", package = "cobalt")
    >
    > #Balancing covariates between treatment groups (binary)
    > (ow1 <- optweight(treat ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + tols = c(.01, .02, .03, .04, .05),
    + estimand = "ATE"))
    An optweight object
     - number of obs.: 614
     - sampling weights: none
     - treatment: 2-category
     - estimand: ATE
     - covariates: age, educ, married, nodegree, re74
    > bal.tab(ow1)
    Error in deparse1(substitute(x)) : could not find function "deparse1"
    Calls: bal.tab -> is_
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64