- using R Under development (unstable) (2018-04-24 r74637)
- using platform: x86_64-pc-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘caTools/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘caTools’ version ‘1.17.1’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘caTools’ can be installed ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Malformed Title field: should not end in a period.
- checking top-level files ... OK
- checking for left-over 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 package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... NOTE
Found the following apparent S3 methods exported but not registered:
predict.LogitBoost
See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
manual.
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [6s/10s] NOTE
colAUC: no visible global function definition for ‘plot’
colAUC: no visible global function definition for ‘title’
colAUC: no visible global function definition for ‘abline’
colAUC: no visible global function definition for ‘legend’
colAUC: no visible global function definition for ‘lines’
read.ENVI: no visible global function definition for ‘read.table’
read.gif: no visible global function definition for ‘download.file’
read.gif: no visible global function definition for ‘rgb’
runmad: no visible global function definition for ‘runmed’
runmad: no visible binding for global variable ‘mad’
runquantile: no visible binding for global variable ‘quantile’
runsd: no visible binding for global variable ‘sd’
sample.split: no visible global function definition for ‘runif’
write.gif: no visible global function definition for ‘gray’
write.gif: no visible global function definition for ‘colorRampPalette’
write.gif: no visible global function definition for ‘col2rgb’
Undefined global functions or variables:
abline col2rgb colorRampPalette download.file gray legend lines mad
plot quantile read.table rgb runif runmed sd title
Consider adding
importFrom("grDevices", "col2rgb", "colorRampPalette", "gray", "rgb")
importFrom("graphics", "abline", "legend", "lines", "plot", "title")
importFrom("stats", "mad", "quantile", "runif", "runmed", "sd")
importFrom("utils", "download.file", "read.table")
to your NAMESPACE file.
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... NOTE
File ‘caTools/libs/caTools.so’:
Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
It is good practice to register native routines and to disable symbol
search.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
- checking examples ... ERROR
Running examples in ‘caTools-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: LogitBoost
> ### Title: LogitBoost Classification Algorithm
> ### Aliases: LogitBoost
> ### Keywords: classif
>
> ### ** Examples
>
> data(iris)
> Data = iris[,-5]
> Label = iris[, 5]
>
> # basic interface
> model = LogitBoost(Data, Label, nIter=20)
> Lab = predict(model, Data)
Error in UseMethod("predict") :
no applicable method for 'predict' applied to an object of class "LogitBoost"
Calls: predict
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 4 NOTEs