RANN
About RANN
|
Version: 2.1.1
Result: ERROR Check time: 2018-01-26 22:02 * using log directory '' * using R Under development (unstable) (2018-01-26 r74168) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: ISO8859-1 * using option '--as-cran' * checking for file 'RANN/DESCRIPTION' ... OK * this is package 'RANN' version '2.1.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 serialized R objects in the sources ... OK * checking whether package 'RANN' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: 'test' * 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 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 NB: .First.lib is obsolete and will not be used in R >= 3.0.0 * 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 line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... WARNING File 'RANN/libs/RANN.so': Found '_ZSt4cerr', possibly from 'std::cerr' (C++) Object: 'ANN.o' Found '_ZSt4cout', possibly from 'std::cout' (C++) Object: 'perf.o' Found 'exit', possibly from 'exit' (C) Objects: 'ANN.o', 'kd_dump.o' File 'RANN/libs/RANN.so': Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system RNGs. 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 'RANN-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: nn > ### Title: Near Neighbour Search > ### Aliases: nn nn2 > ### Keywords: nonparametric > > ### ** Examples > > # A noisy sine wave example > x1 <- runif(100, 0, 2*pi) > x2 <- runif(100, 0,3) > e <- rnorm(100, sd=sqrt(0.075)) > y <- sin(x1) + 2*cos(x2) + e > DATA <- data.frame(x1, x2, y) > nearest <- nn(DATA) Error in .C("get_NN", as.matrix(data), as.integer(mask), as.integer(num.inputs), : "get_NN" not available for .C() for package "RANN" Calls: nn Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 2 NOTEs See '/00check.log' for details. Installation log: 00install.out
|