canvas - R graphics device for the HTML canvas element - check results
RForge.net

canvas

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

Version: 0.3-0
Result: ERROR
Check time: 2020-06-24 03:13
* using log directory ''
* using R Under development (unstable) (2020-05-03 r78348)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: ISO8859-1
* using option '--as-cran'
* checking for file 'canvas/DESCRIPTION' ... OK
* this is package 'canvas' version '0.3-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 serialization versions ... OK
* checking whether package 'canvas' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking for future file timestamps ... OK
* checking DESCRIPTION meta-information ... NOTE
Malformed Title field: should not end in a period.
Non-standard license specification:
GPL version 2
Standardizable: TRUE
Standardized license specification:
GPL-2
* 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 ... 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 pragmas in C/C++ headers and code ... OK
* checking compilation flags used ... OK
* checking compiled code ... NOTE
File 'canvas/libs/canvas.so':
Found no call to: '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 'canvas-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: canvas
> ### Title: R graphics device targetting the HTML canvas element
> ### Aliases: canvas
> ### Keywords: device
>
> ### ** Examples
>
> # very simple plot
> canvas(600, 600, file="plot.js")
Error in .External("canvas_new_device", file, width, height, bg, ..., :
Incorrect number of arguments (4), expecting 3 for 'canvas_new_device'
Calls: canvas
Execution halted
* 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: 1 ERROR, 3 NOTEs
See
'/00check.log'
for details.


Installation log: 00install.out

Distribution log

SVN checkout/GIT clone log


Build log for Windows (R 2.11.x)

* checking for file 'canvas/DESCRIPTION' ... OK
* preparing 'canvas':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
* installing *source* package 'canvas' ...
** libs
making DLL ...
gcc -I"c:/PROGRA~1/r/R-211~1.0/include" -O3 -Wall -std=gnu99 -c canvas.c -o canvas.o
canvas.c: In function 'canvasActivate':
canvas.c:80: warning: unused variable 'cGD'
canvas.c: In function 'canvasClip':
canvas.c:111: warning: unused variable 'cGD'
canvas.c: In function 'canvasLocator':
canvas.c:155: warning: no return statement in function returning non-void
gcc -shared -s -static-libgcc -o canvas.dll tmp.def canvas.o -Lc:/PROGRA~1/r/R-211~1.0/bin -lR
installing to c:/tmp/Rinst373229739/canvas/libs
... done
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** MD5 sums
** testing if installed package can be loaded
packaged installation of 'canvas' as canvas_0.3-0.zip

* DONE (canvas)


Build log for Windows 64-bit (R 2.11.x)

* checking for file 'canvas/DESCRIPTION' ... OK
* preparing 'canvas':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
* installing *source* package 'canvas' ...
** libs
making DLL ...
c:/PROGRA~1/r/R-211~1.0-X/etc/x64/Makeconf:161: warning: overriding commands for target `.c.o'
c:/PROGRA~1/r/R-211~1.0-X/etc/x64/Makeconf:152: warning: ignoring old commands for target `.c.o'
c:/PROGRA~1/r/R-211~1.0-X/etc/x64/Makeconf:169: warning: overriding commands for target `.c.d'
c:/PROGRA~1/r/R-211~1.0-X/etc/x64/Makeconf:154: warning: ignoring old commands for target `.c.d'
c:/PROGRA~1/r/R-211~1.0-X/etc/x64/Makeconf:179: warning: overriding commands for target `.m.o'
c:/PROGRA~1/r/R-211~1.0-X/etc/x64/Makeconf:172: warning: ignoring old commands for target `.m.o'
x86_64-w64-mingw32-g++ -I"c:/PROGRA~1/r/R-211~1.0-X/include" -O2 -Wall -c canvas.c -o canvas.o
x86_64-w64-mingw32-g++: not found
make: *** [canvas.o] Error 127
... done
ERROR: compilation failed for package 'canvas'
* removing 'c:/tmp/Rinst252440390/canvas'
ERROR
* installation failed


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

* installing *source* package 'canvas' ...
** 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 canvas.c -o canvas.o
gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o canvas.so canvas.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/canvas/libs/i386
*** arch - ppc
gcc -arch ppc -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c canvas.c -o canvas.o
gcc -arch ppc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o canvas.so canvas.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/canvas/libs/ppc
*** arch - x86_64
gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c canvas.c -o canvas.o
gcc -arch x86_64 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o canvas.so canvas.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/canvas/libs/x86_64
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - ppc
*** arch - x86_64
packaged installation of 'canvas' as 'canvas_0.3-0.tgz'

* DONE (canvas)

Build log for Windows 7 (R 3.0.x)

(canvas 0.3-0)
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'canvas' ...
** 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 canvas.c -o canvas.o
canvas.c: In function 'canvasActivate':
canvas.c:80:14: warning: unused variable 'cGD' [-Wunused-variable]
canvas.c: In function 'canvasClip':
canvas.c:111:14: warning: unused variable 'cGD' [-Wunused-variable]
canvas.c: In function 'canvasLocator':
canvas.c:155:1: warning: no return statement in function returning non-void [-Wreturn-type]
gcc -m32 -shared -s -static-libgcc -o canvas.dll tmp.def canvas.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/canvas/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 canvas.c -o canvas.o
canvas.c: In function 'canvasActivate':
canvas.c:80:14: warning: unused variable 'cGD' [-Wunused-variable]
canvas.c: In function 'canvasClip':
canvas.c:111:14: warning: unused variable 'cGD' [-Wunused-variable]
canvas.c: In function 'canvasLocator':
canvas.c:155:1: warning: no return statement in function returning non-void [-Wreturn-type]
gcc -m64 -shared -s -static-libgcc -o canvas.dll tmp.def canvas.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/canvas/libs/x64
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Warning: ignoring .First.lib() for package 'canvas'
*** arch - x64
Warning: ignoring .First.lib() for package 'canvas'
* MD5 sums
packaged installation of 'canvas' as canvas_0.3-0.zip
* DONE (canvas)