CRAN Package Check Results for Package BradleyTerry2

Last updated on 2016-07-31 06:47:18.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-6 3.38 62.68 66.05 ERROR
r-devel-linux-x86_64-debian-gcc 1.0-6 3.49 62.90 66.38 ERROR
r-devel-linux-x86_64-fedora-clang 1.0-6 110.43 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0-6 101.72 ERROR
r-devel-osx-x86_64-clang 1.0-6 106.60 ERROR
r-devel-windows-ix86+x86_64 1.0-6 9.00 113.00 122.00 NOTE
r-patched-linux-x86_64 1.0-6 3.55 64.17 67.71 NOTE
r-patched-solaris-sparc 1.0-6 817.60 NOTE
r-patched-solaris-x86 1.0-6 165.90 NOTE
r-release-linux-x86_64 1.0-6 4.26 74.81 79.06 NOTE
r-release-osx-x86_64-mavericks 1.0-6 NOTE
r-release-windows-ix86+x86_64 1.0-6 13.00 151.00 164.00 NOTE
r-oldrel-windows-ix86+x86_64 1.0-6 13.00 162.00 175.00 OK

Check Details

Version: 1.0-6
Check: R code for possible problems
Result: NOTE
    BTabilities: no visible global function definition for ‘model.matrix’
    BTabilities: no visible global function definition for ‘terms’
    BTabilities: no visible global function definition for ‘reformulate’
    BTabilities: no visible global function definition for ‘model.frame’
    BTabilities: no visible binding for global variable ‘na.pass’
    BTabilities: no visible global function definition for ‘model.offset’
    BTabilities: no visible global function definition for ‘vcov’
    BTabilities: no visible global function definition for ‘na.exclude’
    BTabilities: no visible global function definition for ‘C’
    BTabilities: no visible global function definition for ‘relevel’
    BTabilities: no visible global function definition for ‘contrasts’
    BTm: no visible binding for global variable ‘binomial’
    BTm.setup: no visible global function definition for ‘reformulate’
    Diff: no visible global function definition for ‘reformulate’
    Diff: no visible global function definition for ‘is.empty.model’
    Diff: no visible global function definition for ‘terms’
    Diff: no visible global function definition for ‘model.frame’
    Diff: no visible binding for global variable ‘na.pass’
    Diff: no visible global function definition for ‘relevel’
    Diff: no visible global function definition for ‘model.offset’
    Diff : recode: no visible global function definition for ‘relevel’
    Diff: no visible global function definition for ‘model.matrix’
    Diff: no visible global function definition for ‘na.omit’
    GenDavidson : <anonymous>: no visible global function definition for
     ‘runif’
    GenDavidsonTie: no visible binding for global variable ‘coef’
    GenDavidsonTie: no visible global function definition for ‘plogis’
    add1.BTm: no visible global function definition for ‘formula’
    add1.BTm: no visible global function definition for ‘update.formula’
    add1.BTm: no visible global function definition for ‘add.scope’
    add1.BTm: no visible global function definition for ‘terms’
    add1.BTm: no visible global function definition for ‘reformulate’
    add1.BTm: no visible global function definition for ‘update’
    add1.BTm: no visible binding for global variable ‘model.frame’
    add1.BTm: no visible global function definition for ‘model.response’
    add1.BTm: no visible global function definition for ‘model.weights’
    add1.BTm: no visible global function definition for ‘model.offset’
    add1.BTm: no visible global function definition for ‘coef’
    add1.BTm: no visible global function definition for ‘vcov’
    add1.BTm: no visible global function definition for ‘pchisq’
    add1.BTm: no visible global function definition for ‘pf’
    anova.BTm : <anonymous>: no visible global function definition for
     ‘formula’
    anova.BTm: no visible global function definition for ‘model.matrix’
    anova.BTm: no visible global function definition for ‘coef’
    anova.BTm: no visible global function definition for ‘vcov’
    anova.BTm: no visible global function definition for ‘formula’
    anova.BTm: no visible global function definition for ‘pchisq’
    anova.BTm: no visible global function definition for ‘pf’
    anova.BTmlist : <anonymous>: no visible global function definition for
     ‘formula’
    anova.BTmlist : <anonymous>: no visible global function definition for
     ‘terms’
    anova.BTmlist : <anonymous>: no visible global function definition for
     ‘fitted’
    anova.BTmlist : <anonymous>: no visible global function definition for
     ‘na.omit’
    anova.BTmlist : <anonymous>: no visible global function definition for
     ‘coef’
    anova.BTmlist: no visible global function definition for ‘coef’
    anova.BTmlist: no visible global function definition for ‘vcov’
    anova.BTmlist: no visible global function definition for ‘pchisq’
    anova.BTmlist: no visible global function definition for ‘pf’
    drop1.BTm: no visible global function definition for ‘model.matrix’
    drop1.BTm: no visible global function definition for ‘terms’
    drop1.BTm: no visible global function definition for ‘formula’
    drop1.BTm: no visible global function definition for ‘drop.scope’
    drop1.BTm: no visible global function definition for ‘update.formula’
    drop1.BTm: no visible global function definition for ‘coef’
    drop1.BTm: no visible global function definition for ‘vcov’
    drop1.BTm: no visible global function definition for ‘pchisq’
    drop1.BTm: no visible global function definition for ‘pf’
    glmmPQL: no visible binding for global variable ‘binomial’
    glmmPQL: no visible global function definition for ‘terms’
    glmmPQL: no visible binding for global variable ‘model.frame’
    glmmPQL: no visible global function definition for ‘model.response’
    glmmPQL: no visible global function definition for ‘model.weights’
    glmmPQL: no visible global function definition for ‘model.offset’
    glmmPQL: no visible global function definition for ‘is.empty.model’
    glmmPQL: no visible global function definition for ‘model.matrix’
    glmmPQL: no visible global function definition for ‘glm.fit’
    glmmPQL: no visible global function definition for ‘.getXlevels’
    glmmPQL.fit: no visible global function definition for ‘gaussian’
    glmmPQL.fit: no visible global function definition for ‘flush.console’
    glmmPQL.fit: no visible global function definition for ‘optimize’
    model.frame.BTm: no visible binding for global variable ‘model.frame’
    plotProportions: no visible global function definition for ‘plot’
    plotProportions: no visible global function definition for ‘points’
    plotProportions: no visible global function definition for ‘curve’
    plotProportions: no visible global function definition for ‘na.omit’
    predict.BTglmmPQL: no visible binding for global variable ‘na.pass’
    predict.BTglmmPQL: no visible global function definition for
     ‘delete.response’
    predict.BTglmmPQL: no visible global function definition for
     ‘model.frame’
    predict.BTglmmPQL: no visible global function definition for
     ‘.checkMFClasses’
    predict.BTglmmPQL: no visible global function definition for
     ‘model.matrix’
    predict.BTglmmPQL: no visible global function definition for
     ‘napredict’
    predict.BTglmmPQL: no visible global function definition for ‘family’
    predict.BTglmmPQL: no visible global function definition for
     ‘na.exclude’
    predict.BTm: no visible binding for global variable ‘na.pass’
    predict.BTm: no visible global function definition for ‘model.matrix’
    predict.BTm: no visible global function definition for ‘reformulate’
    print.BTglmmPQL: no visible global function definition for ‘coef’
    print.BTglmmPQL: no visible global function definition for ‘naprint’
    print.summary.BTglmmPQL: no visible global function definition for
     ‘printCoefmat’
    print.summary.BTglmmPQL: no visible global function definition for
     ‘naprint’
    print.summary.BTglmmPQL: no visible global function definition for
     ‘symnum’
    residuals.BTm: no visible global function definition for ‘as.formula’
    residuals.BTm: no visible global function definition for ‘terms’
    residuals.BTm: no visible global function definition for ‘model.frame’
    residuals.BTm: no visible global function definition for ‘model.matrix’
    summary.BTglmmPQL: no visible global function definition for ‘coef’
    summary.BTglmmPQL: no visible global function definition for ‘pnorm’
    Undefined global functions or variables:
     .checkMFClasses .getXlevels C add.scope as.formula binomial coef
     contrasts curve delete.response drop.scope family fitted
     flush.console formula gaussian glm.fit is.empty.model model.frame
     model.matrix model.offset model.response model.weights na.exclude
     na.omit na.pass napredict naprint optimize pchisq pf plogis plot
     pnorm points printCoefmat reformulate relevel runif symnum terms
     update update.formula vcov
    Consider adding
     importFrom("graphics", "curve", "plot", "points")
     importFrom("stats", ".checkMFClasses", ".getXlevels", "C", "add.scope",
     "as.formula", "binomial", "coef", "contrasts",
     "delete.response", "drop.scope", "family", "fitted",
     "formula", "gaussian", "glm.fit", "is.empty.model",
     "model.frame", "model.matrix", "model.offset",
     "model.response", "model.weights", "na.exclude", "na.omit",
     "na.pass", "napredict", "naprint", "optimize", "pchisq",
     "pf", "plogis", "pnorm", "printCoefmat", "reformulate",
     "relevel", "runif", "symnum", "terms", "update",
     "update.formula", "vcov")
     importFrom("utils", "flush.console")
    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-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 1.0-6
Check: examples
Result: ERROR
    Running examples in ‘BradleyTerry2-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: GenDavidson
    > ### Title: Specify a Generalised Davidson Term in a gnm Model Formula
    > ### Aliases: GenDavidson
    > ### Keywords: models nonlinear
    >
    > ### ** Examples
    >
    > ### example requires gnm
    > if (require(gnm)) {
    + ### convert to trinomial counts
    + football.tri <- expandCategorical(football, "result", idvar = "match")
    + head(football.tri)
    +
    + ### add variable to indicate whether team playing at home
    + football.tri$at.home <- !logical(nrow(football.tri))
    +
    + ### fit shifted & scaled Davidson model
    + ### - subset to first and last season for illustration
    + shifScalDav <- gnm(count ~
    + GenDavidson(result == 1, result == 0, result == -1,
    + home:season, away:season, home.adv = ~1,
    + tie.max = ~1, tie.scale = ~1, tie.mode = ~1,
    + at.home1 = at.home,
    + at.home2 = !at.home) - 1,
    + eliminate = match, family = poisson, data = football.tri,
    + subset = season %in% c("2008-9", "2012-13"))
    +
    + ### look at coefs
    + coef <- coef(shifScalDav)
    + ## home advantage
    + exp(coef["home.adv"])
    + ## max p(tie)
    + plogis(coef["tie.max"])
    + ## mode p(tie)
    + plogis(coef["tie.mode"])
    + ## scale relative to Davidson of dependence of p(tie) on p(win|not a draw)
    + exp(coef["tie.scale"])
    +
    + ### check model fit
    + alpha <- names(coef[-(1:4)])
    + plotProportions(result == 1, result == 0, result == -1,
    + home:season, away:season,
    + abilities = coef[alpha], home.adv = coef["home.adv"],
    + tie.max = coef["tie.max"], tie.scale = coef["tie.scale"],
    + tie.mode = coef["tie.mode"],
    + at.home1 = at.home, at.home2 = !at.home,
    + data = football.tri, subset = count == 1)
    + }
    Loading required package: gnm
    Warning in `[<-.data.frame`(`*tmp*`, c(catvar, idvar, countvar), value = list( :
     replacement element 1 has 5700 rows to replace 0 rows
    Warning in `[<-.data.frame`(`*tmp*`, c(catvar, idvar, countvar), value = list( :
     replacement element 2 has 5700 rows to replace 0 rows
    Warning in `[<-.data.frame`(`*tmp*`, c(catvar, idvar, countvar), value = list( :
     replacement element 3 has 5700 rows to replace 0 rows
    Error in structure(rep(x, nLevels), names = nm) :
     'names' attribute [2] must be the same length as the vector [0]
    Calls: gnm -> gnmTools -> lapply -> FUN -> structure
    Execution halted
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-osx-x86_64-clang

Version: 1.0-6
Check: re-building of vignette outputs
Result: NOTE
    Error in re-building vignettes:
     ...
    Warning in grepl("(Rerun to get|biblatex.*\\(re\\)run)", readLines(log, :
     input string 449 is invalid in this locale
    Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
     Running 'texi2dvi' on 'BradleyTerry.tex' failed.
    LaTeX errors:
    ! LaTeX Error: Missing \begin{document}.
    
    See the LaTeX manual or LaTeX Companion for explanation.
    Type H <return> for immediate help.
     ...
    ! Extra }, or forgotten \endgroup.
    l.16 ...^Ha<db><f6><f0><f0>0<d8>~<fd><f5><d7>^^[7nܹs'^^\^^Ns<ce>^^_?~<fc>駟޾}
     <fb><fc><f9><f3><c9>d<f2>H^^T{dګ^^Xƥx<fc><91>i^^...
    I've deleted a group-closing symbol because it seems to be
    spurious, as in `$x}$'. But perhaps the } is legitimate and
    ! Missing $ inserted.
    <inserted text>
     $
    l.16 ...^@+<c6>X<^^^^^WB<cc><ce><ce>~<f1><c5>^^W<e9>t<fa><f9><f3><e7><c1>`^^P<e8>D<ef>څfff^
     <bc>x188X<af><d7>?<fb><ec><b3>t:=>><be><b2><b2><92>J<a5>^^N...
    ! Extra }, or forgotten $.
    l.16 ...^^Hڜs۶^^S<89>D<f7><e3><ec>Hg<be>w<92>锋<d7>!<b4>d<b3><d9><e3><99><c7>ah^^O<ec>z<ca>}
    
    Calls: buildVignettes -> texi2pdf -> texi2dvi
    Execution halted
Flavor: r-release-osx-x86_64-mavericks