CRAN Package Check Results for Package partykit

Last updated on 2015-05-28 19:47:37.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-1 2.04 108.72 110.76 OK
r-devel-linux-x86_64-debian-gcc 1.0-1 2.10 106.36 108.46 OK
r-devel-linux-x86_64-fedora-clang 1.0-1 222.28 OK
r-devel-linux-x86_64-fedora-gcc 1.0-1 214.60 OK
r-devel-osx-x86_64-clang 1.0-1 211.62 OK
r-devel-windows-ix86+x86_64 1.0-1 11.00 180.00 191.00 OK
r-patched-linux-x86_64 1.0-1 2.08 108.14 110.21 OK
r-patched-solaris-sparc 1.0-1 479.40 OK --no-tests --no-vignettes
r-patched-solaris-x86 1.0-1 101.40 OK --no-tests --no-vignettes
r-release-linux-x86_64 1.0-1 2.20 107.25 109.45 OK
r-release-osx-x86_64-mavericks 1.0-1 NOTE
r-release-osx-x86_64-snowleopard 1.0-1 ERROR
r-release-windows-ix86+x86_64 1.0-1 12.00 176.00 188.00 OK
r-oldrel-windows-ix86+x86_64 1.0-1 13.00 184.00 197.00 OK

Check Details

Version: 1.0-1
Check: re-building of vignette outputs
Result: NOTE
    Error in re-building vignettes:
     ...
    
    Attaching package: ‘XML’
    
    The following object is masked from ‘package:tools’:
    
     toHTML
    
    Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
     Running 'texi2dvi' on 'constparty.tex' failed.
    LaTeX errors:
    ! Undefined control sequence.
    l.20 ...D/_<be><dc><dc><dc><fc><ec><b3><cf><e6><e6><e6>`<94>`^^F<e7><e7><e7>^^Ycsss<9d>,^^E<ab><a8><eb>z<b9>\<8e>
     F<a3>P6<f3><f3><f3><99>L<e6><e2>ŋ_}<f5>Uo;<<95>j<81>&<f4><...
    The control sequence at the end of the top line
    of your error message was never \def'ed. If you have
    ! Undefined control sequence.
    l.24 ...UUK<a5>R8^^\<96><d5>F<cf><f3>J<a5>R<b3><d9>$"UU9<e7>+++<9a><a6>U<ab>խ<ad>-]<d7>s<b9>\<
     ^^^<b7>m[^^Ha<db>v<^^^<a7>^^C^^UU<a9>T...
    The control sequence at the end of the top line
    of your error message was never \def'ed. If you have
    ! Undefined control sequence.
    l.24 ...^^Ha<db>v<^^^<a7>^^C^^UU<a9>T<88><a8>Z<ad><fa><be><8f>k<bc><ab><aa>*c<cc>u]<c3>0r<b9>\<ab>
     <d5><f2><϶<ed>C<8f>:D<af><8d><ec><f5><9c><e7><dc><d9>ٙ<9c><9c><c4>oo+..
    Calls: buildVignettes -> texi2pdf -> texi2dvi
    Execution halted
Flavor: r-release-osx-x86_64-mavericks

Version: 1.0-1
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     ‘XML’ ‘pmml’ ‘sandwich’ ‘strucchange’ ‘AER’ ‘psychotree’
Flavor: r-release-osx-x86_64-snowleopard

Version: 1.0-1
Check: Rd cross-references
Result: NOTE
    Packages unavailable to check Rd xrefs: ‘party’, ‘sandwich’, ‘strucchange’
Flavor: r-release-osx-x86_64-snowleopard

Version: 1.0-1
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
    Error in loadNamespace(name) : there is no package called ‘sandwich’
    Calls: mob ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
    Execution halted
Flavor: r-release-osx-x86_64-snowleopard

Version: 1.0-1
Check: running R code from vignettes
Result: WARN
    Errors in running code in vignettes:
    when running code in ‘constparty.Rnw’
     ...
    > ttnc_pmml <- file.path(system.file("pmml", package = "partykit"),
    + "ttnc.pmml")
    
    > (ttnc_quest <- pmmlTreeModel(ttnc_pmml))
    Loading required namespace: XML
    Failed with error: ‘there is no package called ‘XML’’
    
     When sourcing ‘constparty.R’:
    Error: requireNamespace("XML") is not TRUE
    Execution halted
    when running code in ‘ctree.Rnw’
     ...
    
    > predict(ct, newdata = ls[c(1, 51, 101), ], type = "node")
     1 51 101
     3 3 2
    
    > library("strucchange")
    
     When sourcing ‘ctree.R’:
    Error: there is no package called ‘strucchange’
    Execution halted
    when running code in ‘mob.Rnw’
     ...
    + offset = NULL, ...) {
    + glm(y ~ 0 + x, family = binomial, start = start, ...)
    + }
    
    > pid_tree <- mob(pid_formula, data = PimaIndiansDiabetes,
    + fit = logit)
    
     When sourcing 'mob.R':
    Error: there is no package called 'sandwich'
    Execution halted
Flavor: r-release-osx-x86_64-snowleopard

Version: 1.0-1
Check: re-building of vignette outputs
Result: NOTE
    Error in re-building vignettes:
     ...
    Loading required package: grid
    Loading required namespace: XML
    Failed with error: ‘there is no package called ‘XML’’
    
    Error: processing vignette 'constparty.Rnw' failed with diagnostics:
     chunk 14 (label = PMML-Titantic)
    Error : requireNamespace("XML") is not TRUE
    Execution halted
Flavor: r-release-osx-x86_64-snowleopard