From ligges at statistik.tu-dortmund.de  Tue Dec 20 15:17:17 2011
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Tue, 20 Dec 2011 15:17:17 +0100
Subject: [Rd] Why is the 64bit Windows version of package RSVGTipsDevice
 not available on CRAN?
In-Reply-To: <4EEFFA10.3060405@gmail.com>
References: <4EEFFA10.3060405@gmail.com>
Message-ID: <4EF098ED.3050607@statistik.tu-dortmund.de>

This is because it does not pass 64-bit checks for me in the CRAN 
checks, doing it manually, it just crashed here (further discussion 
perhaps better off list):



* checking examples ...
** running examples for arch 'i386' ... OK
** running examples for arch 'x64' ... ERROR
Running examples in 'RSVGTipsDevice-Ex.R' failed
The error most likely occurred in:

 > ### Name: RSVGTipsDevice
 > ### Title: A SVG Graphics Driver with dynamic tips
 > ### Aliases: RSVGTipsDevice
 > ### Keywords: device package
 >
 > ### ** Examples
 >
 > library("RSVGTipsDevice")
 > sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=C                 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=C                LC_NUMERIC=C
[5] LC_TIME=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] RSVGTipsDevice_1.0-4
 > devSVGTips("svgplot1.svg", toolTipMode=1,
+     title="SVG example plot 1: shapes and points, tooltips are title + 
1 line")
 > plot(c(0,10),c(0,10), type="n", xlab="x", ylab="y",
+     main="Example SVG plot with title + 1 line tips (mode=1)")
 > setSVGShapeToolTip(title="A rectangle", desc="that is yellow")
 > rect(1,1,4,6, col='yellow')
 > setSVGShapeToolTip(title="1st circle with title only")
 > points(5.5,7.5,cex=20,pch=19,col='red')
 > setSVGShapeToolTip(title="A triangle", desc="big and green")
 > polygon(c(3,6,8), c(3,6,3), col='green')
 > # no tooltips on these points
 > points(2:8, 8:2, cex=3, pch=19, col='black')
 > # tooltips on each these points
 > invisible(sapply(1:7, function(x)
+ {setSVGShapeToolTip(title=paste("point", x))
+  points(x+1, 8-x, cex=3, pch=1, col='black')}))
 > setSVGShapeToolTip(title="Text", desc="can have a tool tip too!")
 > text(x=4, y=9, lab="Poke me!", col="blue")
 > dev.off()


Best,
Uwe Ligges




On 20.12.2011 03:59, Tony Plate wrote:
> On CRAN, the package RSVGTipsDevice is only installed for 32bit Windows, and is not available as a 64bit package for Windows.
>
> The file linked to in the package check summary on CRAN says "NB: this package is only installed for sub-architecture 'i386' ".
>
> What do I need to do to make it available as both 64bit and 32bit on CRAN? (I am the maintainer of the package).
>
> It builds, checks and runs fine as a 64 bit package on my own Windows 64 bit (XP) machine.
>
> Has a flag has been set somewhere because some time in the past this package had problems running in 64 bit mode?
>
> Here's the truncated output from the link from CRAN package check page:
>
> http://www.r-project.org/nosvn/R.check/r-release-windows-ix86+x86_64/RSVGTipsDevice-00check.html
>
>    * using R version 2.14.0 (2011-10-31)
>    * using platform: i386-pc-mingw32 (32-bit)
>    * using session charset: ISO8859-1
>    * checking for file 'RSVGTipsDevice/DESCRIPTION' ... OK
>    * this is package 'RSVGTipsDevice' version '1.0-4'
>    * 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 whether package 'RSVGTipsDevice' can be installed ... OK
>    * checking installed package size ... OK
>      NB: this package is only installed for sub-architecture 'i386'
>    * checking package directory ... OK
>    * checking for portable file names ... OK
>    * ... [truncated]
>
>
> Here's the output of R CMD check on my own machine:
>
> $ /cygdrive/c/R/R-2.14.0/bin/x64/R.exe CMD check RSVGTipsDevice_1.0-4.tar.gz
> * using log directory 'D:/tplate/R/rforge/rsvgtipsdevice/RSVGTipsDevice.Rcheck'
> * using R version 2.14.0 (2011-10-31)
> * using platform: x86_64-pc-mingw32 (64-bit)
> * using session charset: ISO8859-1
> * checking for file 'RSVGTipsDevice/DESCRIPTION' ... OK
> * this is package 'RSVGTipsDevice' version '1.0-4'
> * 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 whether package 'RSVGTipsDevice' can be installed ... OK
> * checking installed package size ... OK
> * checking package directory ... OK
> * checking for portable file names ... OK
> * checking DESCRIPTION meta-information ... OK
> * checking top-level 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
> * loading checks for arch 'i386'
> ** 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
> * loading checks for arch 'x64'
> ** 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 for unstated 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 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 for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
> * checking compiled code ... OK
> * checking examples ...
> ** running examples for arch 'i386' ... OK
> ** running examples for arch 'x64' ... OK
> * checking PDF version of manual ... OK
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Why is the 64bit Windows version of package RSVGTipsDevice not available on CRAN?
Uwe Ligges