From ligges at statistik.tu-dortmund.de  Mon Jul 16 14:58:05 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Mon, 16 Jul 2012 14:58:05 +0200
Subject: [Rd] installing spam package is failing (spam_0.29-1)
In-Reply-To: <1342435455227-4636628.post@n4.nabble.com>
References: <1342435455227-4636628.post@n4.nabble.com>
Message-ID: <50040FDD.4020307@statistik.tu-dortmund.de>



On 16.07.2012 12:44, chuckles the clone wrote:
> The primary error seems to be:
>
>   "Creating a new generic function for "diff" in "spam"
>     Error in setGeneric(f, where = where) :
>       must supply a function skeleton, explicitly or via an existing
> function"
>
> And the full output follows. Any thoughts on what may be happening
> and/or how to work around the problem?


Is the R-2.15.1 and are all other packages updated?

We do not see this problem in the CRAN checks:

http://cran.r-project.org/web/checks/check_results_spam.html

Uwe Ligges



> Thanks!
>
>> install.packages('fields')
> Installing package(s) into ?/usr/local/lib/R/site-library?
> (as ?lib? is unspecified)
> --- Please select a CRAN mirror for use in this session ---
> CRAN mirror
>
>   1: Argentina (La Plata)      2: Argentina (Mendoza)
> [...]
>
> Selection: 1
> also installing the dependency ?spam?
>
> trying URL
> 'http://mirror.fcaglp.unlp.edu.ar/CRAN/src/contrib/spam_0.29-1.tar.gz'
> Content type 'application/x-gzip' length 396179 bytes (386 Kb)
> opened URL
> ==================================================
> downloaded 386 Kb
>
> trying URL
> 'http://mirror.fcaglp.unlp.edu.ar/CRAN/src/contrib/fields_6.6.3.tar.gz'
> Content type 'application/x-gzip' length 2488570 bytes (2.4 Mb)
> opened URL
> ==================================================
> downloaded 2.4 Mb
>
> * installing *source* package ?spam? ...
> ** libs
> gfortran   -fpic  -O3 -pipe  -g -c bckslvmodified.f -o bckslvmodified.o
> gfortran   -fpic  -O3 -pipe  -g -c cholmodified.f -o cholmodified.o
> gfortran   -fpic  -O3 -pipe  -g -c dist.f -o dist.o
> gfortran   -fpic  -O3 -pipe  -g -c fromsparsekit.f -o fromsparsekit.o
> gfortran   -fpic  -O3 -pipe  -g -c kronecker.f -o kronecker.o
> gfortran   -fpic  -O3 -pipe  -g -c permutation.f -o permutation.o
> gfortran   -fpic  -O3 -pipe  -g -c rowcolstats.f -o rowcolstats.o
> gfortran   -fpic  -O3 -pipe  -g -c spamown.f -o spamown.o
> gfortran   -fpic  -O3 -pipe  -g -c spamown2.f -o spamown2.o
> gfortran   -fpic  -O3 -pipe  -g -c xybind.f -o xybind.o
> gcc -shared -o spam.so bckslvmodified.o cholmodified.o dist.o
> fromsparsekit.o kronecker.o permutation.o rowcolstats.o s\
> pamown.o spamown2.o xybind.o -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
> installing to /usr/local/lib/R/site-library/spam/libs
> ** R
> ** data
> **  moving datasets to lazyload DB
> ** demo
> ** inst
>
> ** preparing package for lazy loading
> Creating a new generic function for "print" in "spam"
> Creating a new generic function for "summary" in "spam"
> Creating a new generic function for "diag" in "spam"
> Creating a new generic function for "diag<-" in "spam"
> Creating a new generic function for "t" in "spam"
> Creating a new generic function for "as.matrix" in "spam"
> Creating a new generic function for "all.equal" in "spam"
> Creating a new generic function for "isSymmetric" in "spam"
> Creating a new generic function for "diff" in "spam"
> Error in setGeneric(f, where = where) :
>    must supply a function skeleton, explicitly or via an existing function
> Error : unable to load R code in package 'spam'
> ERROR: lazy loading failed for package ?spam?
> * removing ?/usr/local/lib/R/site-library/spam?
> ERROR: dependency ?spam? is not available for package ?fields?
> * removing ?/usr/local/lib/R/site-library/fields?
>
> The downloaded packages are in
> 	?/tmp/RtmpauQxtX/downloaded_packages?
> Warning messages:
> 1: In install.packages("fields") :
>    installation of package 'spam' had non-zero exit status
> 2: In install.packages("fields") :
>    installation of package 'fields' had non-zero exit status
>>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/installing-spam-package-is-failing-spam-0-29-1-tp4636628.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] installing spam package is failing (spam_0.29-1)
Uwe Ligges