Last updated on 2020-08-07 01:49:38 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.0 | 7.71 | 56.87 | 64.58 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.2.0 | 5.38 | 42.01 | 47.39 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.2.0 | 82.58 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 72.86 | NOTE | |||
r-devel-windows-ix86+x86_64 | 0.2.0 | 27.00 | 97.00 | 124.00 | OK | |
r-patched-linux-x86_64 | 0.2.0 | 4.63 | 55.92 | 60.55 | OK | |
r-patched-solaris-x86 | 0.2.0 | 102.90 | NOTE | |||
r-release-linux-x86_64 | 0.2.0 | 4.20 | 56.24 | 60.44 | OK | |
r-release-macos-x86_64 | 0.2.0 | NOTE | ||||
r-release-windows-ix86+x86_64 | 0.2.0 | 16.00 | 64.00 | 80.00 | OK | |
r-oldrel-macos-x86_64 | 0.2.0 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.2.0 | 9.00 | 56.00 | 65.00 | ERROR |
Version: 0.2.0
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘class’ ‘dbarts’ ‘gam’ ‘tidyr’ ‘twang’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in 'CIMTx-Ex.R' failed
The error most likely occurred in:
> ### Name: iptw_multiTrt
> ### Title: Inverse probability of treatment weighting (IPTW)
> ### Aliases: iptw_multiTrt
>
> ### ** Examples
>
> library(CIMTx)
> set.seed(1)
> idata = data_gen(n = 500, ratio =1,scenario = 1)
> trt_ind <- as.numeric(idata$trtdat$trt_ind)
> all_vars <- idata$trtdat[, -1] #exclude treatment indicator
> y <- idata$Yobs
> causal_multi_treat(y = y,trt = trt_ind,
+ method = "IPTW-Logistics", estimand = "ATT", reference_trt = 2)
Error in deparse1(f[[1]]) : could not find function "deparse1"
Calls: causal_multi_treat ... iptw_multiTrt_att -> <Anonymous> -> is.formula -> %in%
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64