mallinfo - Memory allocation information - check results
RForge.net

mallinfo

About mallinfo
SVN access
Download/Files
Check results
Package R docs

Version: 0.1-0
Result: OK
Check time: 2018-01-26 21:47
* 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 'mallinfo/DESCRIPTION' ... OK
* this is package 'mallinfo' version '0.1-0'
* 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 'mallinfo' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... NOTE
Malformed Description field: should contain one or more complete sentences.
* 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 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 ... OK
* 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 'mallinfo/libs/mallinfo.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 ... OK
* checking PDF version of manual ... OK
* DONE

Status: 2 NOTEs
See
'/00check.log'
for details.



Installation log: 00install.out

Distribution log

SVN checkout/GIT clone log


Build log for Mac OS X 10.5 (R 2.16.x)

* installing *source* package 'mallinfo' ...
** libs
*** arch - i386
gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c mallinfo.c -o mallinfo.o
mallinfo.c:1:20: error: malloc.h: No such file or directory
mallinfo.c: In function 'R_mallinfo':
mallinfo.c:9: error: variable 'm' has initializer but incomplete type
mallinfo.c:9: warning: implicit declaration of function 'mallinfo'
mallinfo.c:9: error: storage size of 'm' isn't known
mallinfo.c: In function 'R_mallopt':
mallinfo.c:39: warning: implicit declaration of function 'mallopt'
make: *** [mallinfo.o] Error 1
ERROR: compilation failed for package 'mallinfo'
* removing '/Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/mallinfo'

Build log for Windows 7 (R 3.0.x)

(mallinfo 0.1-0)
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'mallinfo' ...
** libs

*** arch - i386
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c mallinfo.c -o mallinfo.o
mallinfo.c: In function 'R_mallinfo':
mallinfo.c:9:10: error: variable 'm' has initializer but incomplete type
mallinfo.c:9:10: warning: implicit declaration of function 'mallinfo' [-Wimplicit-function-declaration]
mallinfo.c:9:19: error: storage size of 'm' isn't known
mallinfo.c:9:19: warning: unused variable 'm' [-Wunused-variable]
mallinfo.c: In function 'R_mallopt':
mallinfo.c:39:3: warning: implicit declaration of function 'mallopt' [-Wimplicit-function-declaration]
make: *** [mallinfo.o] Error 1
ERROR: compilation failed for package 'mallinfo'
* removing 'z:/rforge/Rlib/win7-3.0/mallinfo'