- using R version 2.10.0 Patched (2009-11-05 r50313)
- using session charset: ASCII
- checking for file 'pmml/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'pmml' version '1.2.20'
- checking package name space information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'pmml' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the name space can be loaded with stated dependencies ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... NOTE
genBinaryRFTreeNodes: no visible global function definition for
'getTree'
pmml.coxph: no visible global function definition for 'pmml.transforms'
pmml.hclust: no visible global function definition for
'pmml.transforms'
pmml.kmeans: no visible global function definition for
'pmml.transforms'
pmml.ksvm: no visible binding for global variable 'number.of.datasets'
pmml.lm: no visible global function definition for 'pmml.transforms'
pmml.multinom: no visible global function definition for
'pmml.transforms'
pmml.nnet: no visible global function definition for 'pmml.transforms'
pmml.rpart: no visible global function definition for 'pmml.transforms'
treeset.randomForest: no visible global function definition for
'getTree'
unifyTransforms: no visible binding for global variable 'crs'
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... NOTE
Package(s) unavailable to check Rd xrefs: 'kernlab'
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking examples ... ERROR
Running examples in 'pmml-Ex.R' failed.
The error most likely occurred in:
> ### * pmml.ksvm
>
> flush(stderr()); flush(stdout())
>
> ### Name: pmml.ksvm
> ### Title: Generate PMML for a ksvm object
> ### Aliases: pmml.ksvm
> ### Keywords: interface
>
> ### ** Examples
>
> # Train a support vector machine to perform binary classification.
> require(kernlab)
Loading required package: kernlab
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'kernlab'
> data(spam)
Warning in data(spam) : data set 'spam' not found
> index <- sample(1:dim(spam)[1])
Error in sample(1:dim(spam)[1]) : object 'spam' not found
Execution halted
- elapsed time (check, wall clock): 0:27