CRAN Package Check Results for Package partykit

Last updated on 2014-04-24 19:54:04.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8-0 2.28 106.13 108.41 OK
r-devel-linux-x86_64-debian-gcc 0.8-0 2.28 106.83 109.11 OK
r-devel-linux-x86_64-fedora-clang 0.8-0 235.99 OK
r-devel-linux-x86_64-fedora-gcc 0.8-0 236.84 OK
r-devel-osx-x86_64-clang 0.8-0 203.87 OK
r-devel-osx-x86_64-gcc 0.8-0 ERROR
r-devel-windows-ix86+x86_64 0.8-0 14.00 165.00 179.00 OK
r-patched-linux-x86_64 0.8-0 2.35 106.16 108.51 OK
r-patched-solaris-sparc 0.8-0 1079.70 OK
r-patched-solaris-x86 0.8-0 258.90 OK
r-release-linux-ix86 0.8-0 4.00 165.00 169.00 OK
r-release-linux-x86_64 0.8-0 2.34 106.17 108.51 OK
r-release-osx-x86_64-mavericks 0.8-0 WARN
r-release-osx-x86_64-snowleopard 0.8-0 OK
r-release-windows-ix86+x86_64 0.8-0 15.00 179.00 194.00 OK
r-oldrel-windows-ix86+x86_64 0.8-0 14.00 177.00 191.00 OK

Check Details

Version: 0.8-0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     ‘XML’ ‘pmml’ ‘sandwich’ ‘strucchange’ ‘AER’ ‘psychotree’
Flavor: r-devel-osx-x86_64-gcc

Version: 0.8-0
Check: R code for possible problems
Result: NOTE
    as.party.XMLNode: no visible global function definition for ‘xmlAttrs’
    as.party.XMLNode: no visible global function definition for ‘xmlSApply’
    as.party.XMLNode : <anonymous>: no visible global function definition
     for ‘xmlAttrs’
    as.party.XMLNode : <anonymous>: no visible global function definition
     for ‘xmlValue’
    as.party.XMLNode : extract_empty_model_frame: no visible global
     function definition for ‘xmlAttrs’
    as.party.XMLNode : extract_empty_model_frame: no visible global
     function definition for ‘xmlSApply’
    as.party.XMLNode : extract_empty_model_frame : <anonymous>: no visible
     global function definition for ‘xmlAttrs’
    as.party.XMLNode : extract_terms: no visible global function definition
     for ‘xmlSApply’
    as.party.XMLNode : extract_terms: no visible binding for global
     variable ‘xmlAttrs’
    as.party.XMLNode : n_obs: no visible global function definition for
     ‘xmlAttrs’
    as.party.XMLNode : has_surrogates: no visible global function
     definition for ‘xmlAttrs’
    as.party.XMLNode : has_single_splits : <anonymous>: no visible global
     function definition for ‘xmlAttrs’
    as.party.XMLNode : kid_ids : <anonymous>: no visible global function
     definition for ‘xmlAttrs’
    as.party.XMLNode : get_pred: no visible global function definition for
     ‘xmlAttrs’
    as.party.XMLNode : get_dist : <anonymous>: no visible global function
     definition for ‘xmlAttrs’
    as.party.XMLNode : get_extension: no visible global function definition
     for ‘xmlApply’
    as.party.XMLNode : get_extension: no visible binding for global
     variable ‘xmlAttrs’
    as.party.XMLNode : get_split_prob: no visible global function
     definition for ‘xmlAttrs’
    as.party.XMLNode : get_split : <anonymous>: no visible global function
     definition for ‘xmlAttrs’
    as.party.XMLNode : get_split : <anonymous> : <anonymous>: no visible
     global function definition for ‘xmlAttrs’
    as.party.XMLNode : get_split : <anonymous>: no visible global function
     definition for ‘xmlValue’
    as.party.XMLNode : get_split : <anonymous>: no visible global function
     definition for ‘xmlSApply’
    pmmlTreeModel: no visible global function definition for ‘xmlRoot’
    pmmlTreeModel: no visible global function definition for ‘xmlTreeParse’
Flavor: r-devel-osx-x86_64-gcc

Version: 0.8-0
Check: Rd cross-references
Result: NOTE
    Packages unavailable to check Rd xrefs: ‘party’, ‘sandwich’, ‘strucchange’
Flavor: r-devel-osx-x86_64-gcc

Version: 0.8-0
Check: examples
Result: ERROR
    Running examples in ‘partykit-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: mob
    > ### Title: Model-based Recursive Partitioning
    > ### Aliases: mob modelparty coef.modelparty deviance.modelparty
    > ### fitted.modelparty formula.modelparty getCall.modelparty
    > ### logLik.modelparty model.frame.modelparty nobs.modelparty
    > ### plot.modelparty predict.modelparty print.modelparty
    > ### residuals.modelparty summary.modelparty weights.modelparty
    > ### refit.modelparty sctest.modelparty
    > ### Keywords: tree
    >
    > ### ** Examples
    >
    > if(require("mlbench")) {
    +
    + ## Pima Indians diabetes data
    + data("PimaIndiansDiabetes", package = "mlbench")
    +
    + ## a simple basic fitting function (of type 1) for a logistic regression
    + logit <- function(y, x, start = NULL, weights = NULL, offset = NULL, ...) {
    + glm(y ~ 0 + x, family = binomial, start = start, ...)
    + }
    +
    + ## set up a logistic regression tree
    + pid_tree <- mob(diabetes ~ glucose | pregnant + pressure + triceps + insulin +
    + mass + pedigree + age, data = PimaIndiansDiabetes, fit = logit)
    + ## see lmtree() and glmtree() for interfaces with more efficient fitting functions
    +
    + ## print tree
    + print(pid_tree)
    +
    + ## print information about (some) nodes
    + print(pid_tree, node = 3:4)
    +
    + ## visualization
    + plot(pid_tree)
    +
    + ## coefficients and summary
    + coef(pid_tree)
    + coef(pid_tree, node = 1)
    + summary(pid_tree, node = 1)
    +
    + ## average deviance computed in different ways
    + mean(residuals(pid_tree)^2)
    + deviance(pid_tree)/sum(weights(pid_tree))
    + deviance(pid_tree)/nobs(pid_tree)
    +
    + ## log-likelihood and information criteria
    + logLik(pid_tree)
    + AIC(pid_tree)
    + BIC(pid_tree)
    +
    + ## predicted nodes
    + predict(pid_tree, newdata = head(PimaIndiansDiabetes, 6), type = "node")
    + ## other types of predictions are possible using lmtree()/glmtree()
    + }
    Loading required package: mlbench
    Loading required package: Formula
    Loading required package: sandwich
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called ‘sandwich’
    Error: require("sandwich") is not TRUE
    Execution halted
Flavor: r-devel-osx-x86_64-gcc

Version: 0.8-0
Check: PDF version of manual
Result: WARNING
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
    LaTeX errors found:
    ! LaTeX Error: File `upquote.sty' not found.
    
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: sty)
    
    430678f/Rd2.tex:8: ==> Fatal error occurred, no output PDF file produced!
Flavor: r-release-osx-x86_64-mavericks