* using log directory 'd:/Rcompile/CRANpkg/sampfling.Rcheck' * checking for file 'sampfling/DESCRIPTION' ... OK * checking if this is a source package ... OK * checking whether package 'sampfling' can be installed ... ERROR Installation failed. The installation logfile: Using auto-selected zip options 'DPKG=d:/Rcompile/CRANpkg/lib/1.9/sampfling' ---------- Making package sampfling ------------ adding build stamp to DESCRIPTION making DLL ... making sampfling.d from sampfling.c gcc -Id:/Rcompile/recent/R-19~1.1/src/include -Wall -O2 -c sampfling.c -o sampfling.o sampfling.c:26:20: search.h: No such file or directory sampfling.c: In function `ProbSampleSampford': sampfling.c:107: warning: implicit declaration of function `lsearch' make[3]: *** [sampfling.o] Error 1 make[2]: *** [srcDynlib] Error 2 make[1]: *** [all] Error 2 make: *** [pkg-sampfling] Error 2 *** Installation of sampfling failed ***