CRAN Package Check Results for Package ATE

Last updated on 2021-12-03 03:55:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 2.99 30.53 33.52 NOTE
r-devel-linux-x86_64-debian-gcc 0.2.0 2.40 20.34 22.74 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 49.09 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 34.38 ERROR
r-devel-windows-x86_64-new-UL 0.2.0 8.00 61.00 69.00 NOTE
r-devel-windows-x86_64-new-TK 0.2.0 NOTE
r-devel-windows-x86_64-old 0.2.0 6.00 39.00 45.00 NOTE
r-patched-linux-x86_64 0.2.0 2.72 29.45 32.17 NOTE
r-patched-solaris-x86 0.2.0 58.00 NOTE
r-release-linux-x86_64 0.2.0 2.61 29.56 32.17 NOTE
r-release-macos-arm64 0.2.0 NOTE
r-release-macos-x86_64 0.2.0 NOTE
r-release-windows-ix86+x86_64 0.2.0 6.00 44.00 50.00 NOTE
r-oldrel-macos-x86_64 0.2.0 NOTE
r-oldrel-windows-ix86+x86_64 0.2.0 6.00 43.00 49.00 NOTE

Check Details

Version: 0.2.0
Check: R code for possible problems
Result: NOTE
    get.est.ATT: no visible global function definition for 'tail'
    get.est.MT: no visible global function definition for 'tail'
    get.est.simple: no visible global function definition for 'tail'
    newton.r: no visible global function definition for 'tail'
    plot.ATE: no visible global function definition for 'par'
    plot.ATE: no visible global function definition for 'axis'
    plot.ATE: no visible global function definition for 'abline'
    plot.ATE: no visible global function definition for 'lines'
    plot.ATE: no visible global function definition for 'legend'
    plot.ATE: no visible global function definition for 'points'
    print.summary.ATE: no visible global function definition for
     'printCoefmat'
    summary.ATE: no visible global function definition for 'qnorm'
    summary.ATE: no visible global function definition for 'pnorm'
    Undefined global functions or variables:
     abline axis legend lines par pnorm points printCoefmat qnorm tail
    Consider adding
     importFrom("graphics", "abline", "axis", "legend", "lines", "par",
     "points")
     importFrom("stats", "pnorm", "printCoefmat", "qnorm")
     importFrom("utils", "tail")
    to your NAMESPACE file.
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-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK, r-devel-windows-x86_64-old, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘ATE-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Cressie and Read objective functions
    > ### Title: Cressie and Read objective functions
    > ### Aliases: 'Cressie and Read function' cr.rho d.cr.rho dd.cr.rho
    >
    > ### ** Examples
    >
    > #Cressie-Read Family example
    > data("nsw")
    > Y<-nsw$re78[301:500]
    > X<-nsw[301:500,-c(1,9)]
    > treat<-nsw$treat[301:500]
    >
    > #Exponential tilting
    > ATE(Y,treat,X,theta = 0)
    Warning in ATE(Y, treat, X, theta = 0) :
     Data matrix 'X' is a vector, will be treated as n x 1 matrix
    Error in ATE(Y, treat, X, theta = 0) :
     Dimensions of covariates and response do not match
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘ATE-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Cressie and Read objective functions
    > ### Title: Cressie and Read objective functions
    > ### Aliases: 'Cressie and Read function' cr.rho d.cr.rho dd.cr.rho
    >
    > ### ** Examples
    >
    > #Cressie-Read Family example
    > data("nsw")
    > Y<-nsw$re78[301:500]
    > X<-nsw[301:500,-c(1,9)]
    > treat<-nsw$treat[301:500]
    >
    > #Exponential tilting
    > ATE(Y,treat,X,theta = 0)
    Warning in ATE(Y, treat, X, theta = 0) :
     Data matrix 'X' is a vector, will be treated as n x 1 matrix
    Error in ATE(Y, treat, X, theta = 0) :
     Dimensions of covariates and response do not match
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc