fastshp - Fast routines for working with large ESRI shapefiles (.shp) - check results
RForge.net

fastshp

About fastshp
GIT access
Download/Files
Check results
Package R docs

Version: 0.1-2
Result: WARNING
Check time: 2021-09-08 04:48
* using log directory ''
* using R Under development (unstable) (2021-09-06 r80865)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: ASCII
* using option '--as-cran'
* checking for file 'fastshp/DESCRIPTION' ... OK
* this is package 'fastshp' version '0.1-2'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... WARNING
Subdirectory 'src' contains:
LICENSE_1_0.txt clipper.hpp
These are unlikely file names for src files.
* 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 'fastshp' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking for future file timestamps ... OK
* checking DESCRIPTION meta-information ... OK
* 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 ... NOTE
Found the following apparent S3 methods exported but not registered:
plot.shp
See section 'Registering S3 methods' in the 'Writing R Extensions'
manual.
* checking replacement functions ... OK
* checking foreign function calls ... WARNING
Foreign function call to a base package:
.External.graphics(C_path, ...)
Packages should not make .C/.Call/.External/.Fortran calls to a base
package. They are not part of the API, for use only by R itself and
subject to change without notice.
* checking R code for possible problems ... NOTE
overlap.sat: no visible binding for global variable 'sat'
plot.shp: no visible global function definition for 'dev.hold'
plot.shp: no visible global function definition for 'dev.flush'
plot.shp: no visible global function definition for 'par'
Undefined global functions or variables:
dev.flush dev.hold par sat
Consider adding
importFrom("grDevices", "dev.flush", "dev.hold")
importFrom("graphics", "par")
to your NAMESPACE file.
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... NOTE
Rd file 'thin.Rd':
\examples lines wider than 100 characters:
polygon(s[[i]]$x[t[[i]]], s[[i]]$y[t[[i]]], col=c("#0000ff80","#80800080")[i %% 2 + 1L], border=1)
polygon(st$x[st$id==i]*1.25, st$y[st$id==i], col=c("#0000ff80","#80800080")[i %% 2 + 1L], border=1)

These lines will be truncated in the PDF manual.
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARNING
Undocumented code objects:
'bbox.filter' 'clip.shp' 'match.sat' 'overlap.sat' 'polygons.op'
'polypath.shp'
All user-level objects in a package should have documentation entries.
See chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... NOTE
S3 methods shown with full name in documentation object 'plot.shp':
'plot.shp'

The \usage entries for S3 methods should use the \method markup and not
their full name.
See chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
* 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 'fastshp/libs/fastshp.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
* checking for non-standard things in the check directory ... OK
* checking for detritus in the temp directory ... OK
* DONE

Status: 3 WARNINGs, 5 NOTEs
See
'/00check.log'
for details.



Installation log: 00install.out

Distribution log

SVN checkout/GIT clone log


Build log for Windows 7 (R 3.0.x)

(fastshp 0.1-0)
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'fastshp' ...
** 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 atag.c -o atag.o
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 boxes.c -o boxes.o
boxes.c: In function 'C_bboxes':
boxes.c:7:24: warning: unused variable 'box' [-Wunused-variable]
boxes.c:14:9: warning: 'id' may be used uninitialized in this function [-Wuninitialized]
boxes.c:22:20: warning: 'x' may be used uninitialized in this function [-Wuninitialized]
boxes.c:23:20: warning: 'y' may be used uninitialized in this function [-Wuninitialized]
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 centr.c -o centr.o
g++ -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c clipper.cpp -o clipper.o
clipper.cpp: In constructor 'ClipperLib::OffsetBuilder::OffsetBuilder(const Polygons&, ClipperLib::Polygons&, bool, double, ClipperLib::JoinType, ClipperLib::EndType, double)':
clipper.cpp:3206:12: warning: unused variable 'deltaSq' [-Wunused-variable]
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 inside.c -o inside.o
inside.c: In function 'shp_inside':
inside.c:10:10: warning: variable 'p' set but not used [-Wunused-but-set-variable]
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 merge.c -o merge.o
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 pointline.c -o pointline.o
g++ -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c poly.cpp -o poly.o
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 shp-read.c -o shp-read.o
shp-read.c: In function 'read_shp':
shp-read.c:95:15: warning: variable 'shp_type' set but not used [-Wunused-but-set-variable]
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 thin.c -o thin.o
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 tools.c -o tools.o
g++ -m32 -shared -s -static-libgcc -o fastshp.dll tmp.def atag.o boxes.o centr.o clipper.o inside.o merge.o pointline.o poly.o shp-read.o thin.o tools.o -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/r/r-3.0/bin/i386 -lR
installing to z:/rforge/Rlib/win7-3.0/fastshp/libs/i386

*** arch - x64
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c atag.c -o atag.o
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c boxes.c -o boxes.o
boxes.c: In function 'C_bboxes':
boxes.c:7:24: warning: unused variable 'box' [-Wunused-variable]
boxes.c:14:9: warning: 'id' may be used uninitialized in this function [-Wuninitialized]
boxes.c:22:20: warning: 'x' may be used uninitialized in this function [-Wuninitialized]
boxes.c:23:20: warning: 'y' may be used uninitialized in this function [-Wuninitialized]
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c centr.c -o centr.o
g++ -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c clipper.cpp -o clipper.o
clipper.cpp: In constructor 'ClipperLib::OffsetBuilder::OffsetBuilder(const Polygons&, ClipperLib::Polygons&, bool, double, ClipperLib::JoinType, ClipperLib::EndType, double)':
clipper.cpp:3206:12: warning: unused variable 'deltaSq' [-Wunused-variable]
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c inside.c -o inside.o
inside.c: In function 'shp_inside':
inside.c:10:10: warning: variable 'p' set but not used [-Wunused-but-set-variable]
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c merge.c -o merge.o
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c pointline.c -o pointline.o
g++ -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c poly.cpp -o poly.o
poly.cpp: In function 'ClipperLib::Polygons* polys_create(int, int*, double*, double*)':
poly.cpp:17:11: warning: 'last' may be used uninitialized in this function [-Wuninitialized]
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c shp-read.c -o shp-read.o
shp-read.c: In function 'read_shp':
shp-read.c:95:15: warning: variable 'shp_type' set but not used [-Wunused-but-set-variable]
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c thin.c -o thin.o
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c tools.c -o tools.o
g++ -m64 -shared -s -static-libgcc -o fastshp.dll tmp.def atag.o boxes.o centr.o clipper.o inside.o merge.o pointline.o poly.o shp-read.o thin.o tools.o -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/r/r-3.0/bin/x64 -lR
installing to z:/rforge/Rlib/win7-3.0/fastshp/libs/x64
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* MD5 sums
packaged installation of 'fastshp' as fastshp_0.1-0.zip
* DONE (fastshp)