CRAN Package Check Results for Package treatSens

Last updated on 2018-04-29 01:47:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.3 19.28 54.71 73.99 OK
r-devel-linux-x86_64-debian-gcc 2.1.3 14.46 43.20 57.66 OK
r-devel-linux-x86_64-fedora-clang 2.1.3 87.68 NOTE
r-devel-linux-x86_64-fedora-gcc 2.1.3 82.79 NOTE
r-devel-windows-ix86+x86_64 2.1.3 35.00 125.00 160.00 OK
r-patched-linux-x86_64 2.1.3 18.01 52.57 70.58 OK
r-patched-solaris-x86 2.1.3 128.40 ERROR
r-release-linux-x86_64 2.1.3 18.27 53.03 71.30 OK
r-release-windows-ix86+x86_64 2.1.3 35.00 125.00 160.00 OK
r-release-osx-x86_64 2.1.3 NOTE
r-oldrel-windows-ix86+x86_64 2.1.3 27.00 126.00 153.00 OK
r-oldrel-osx-x86_64 2.1.3 NOTE

Check Details

Version: 2.1.3
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘lme4’ ‘nlme’
     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-osx-x86_64, r-oldrel-osx-x86_64

Version: 2.1.3
Check: examples
Result: ERROR
    Running examples in ‘treatSens-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: treatSens.BART
    > ### Title: Dual-Parameter Sensitivity Analysis Using BART
    > ### Aliases: treatSens.BART
    >
    > ### ** Examples
    >
    > N <- 250 # number of observations
    >
    > zetay <- 0.5 # coefficient on U in the outcome model
    > zetaz <- 0.5 # coefficient on U in the treatment model
    > betaz <- c(0.75, -0.5, 0.25) # coefficients of X in the treatment model
    > betay <- c(0.5, 1.0, -1.5) # coefficients of X in the outcome model
    > tau <- 0.25 # treatment effect
    >
    > set.seed(725)
    > X <- matrix(rnorm(3 * N), N) # covariates
    >
    > U <- rbinom(N, 1, 0.5) # unmeasured confounder
    > ps <- pnorm(X %*% betaz + zetaz * (U - 0.5)) # propensity score
    > Z <- rbinom(N, 1, ps) # treatment variable
    > epsilon <- rnorm(N, 0.0, 2.0) # error term
    >
    > Y0 <- X %*% betay + zetay * (U - 0.5) + epsilon # potential outcome(Z=0)
    > Y1 <- X %*% betay + zetay * (U - 0.5) + tau + epsilon # potential outcome(Z=1)
    > Y <- Y0 * (1 - Z) + Y1 * Z # realization of potential outcome
    >
    > # sensitivity analysis
    > out.bin <- treatSens.BART(Y ~ Z + X, nsim = 3, nthin = 2, nburn = 0,
    + spy.range = c(0, 4), spz.range = c(-2 , 2), grid.dim = c(5, 3),
    + standardize = FALSE, verbose = TRUE)
    Binary U with binomial distribution is assumed.
    Error in .Object$initialize(...) : adaptive radix tree not aligned
    Calls: treatSens.BART ... new -> initialize -> initialize -> <Anonymous> -> .Call
    Execution halted
Flavor: r-patched-solaris-x86