From jari.oksanen at oulu.fi  Sun Mar 10 16:51:14 2013
From: jari.oksanen at oulu.fi (Jari Oksanen)
Date: Sun, 10 Mar 2013 15:51:14 +0000
Subject: [Rd] question on why Rigroup package moved to Archive on CRAN
In-Reply-To: <513CA446.8040005@statistik.tu-dortmund.de>
References: <BLU0-SMTP1663AF8838B6E599BDF19787E70@phx.gbl>
	<CAFDcVCSpBzh0hm0_C=SfYTVekrZ7iSckuDg5wFwd5f2N0bGbSA@mail.gmail.com>
	<BLU0-SMTP30278138E54E7526966E2187E70@phx.gbl>
	<BLU0-SMTP472512ED1388C9E8DDB39B87E70@phx.gbl>
	<CAF42j23teS7eq9Qj-CqqOTyUC-GKxvy5OLoRwG0Rkcw9VOf52w@mail.gmail.com>
	<BLU0-SMTP32DDDC2FAFD538C33A193287E00@phx.gbl>
	<CAF42j23sooTLrLo_+werPDh25MCrMdxe7GrySi8EG=osOCH_wg@mail.gmail.com>
	<BLU0-SMTP89E4EB1F1CB967D93FF4CC87E00@phx.gbl>
	<513CA446.8040005@statistik.tu-dortmund.de>
Message-ID: <A99D2247-240A-4AD3-B54E-47E144D47C56@oulu.fi>

"What we've got here is failure to communicate. Some men you just can't reach. So you get what we had here last week, which is the way he wants it. Well, he gets it. I don't like it any more than you men." (from "Cool hand Luke" -- but whose fault?)

Cheers, Jari Oksanen

On 10/03/2013, at 17:18 PM, Uwe Ligges wrote:

> I wonder why you do not ask on CRAN at ...? List members here cannot know the answer. And we typically do not discuss such matters in public.
> 
> I wonder why you do not read the e-mail message you get from the CRAN team?
> 
> Please see the message with subject line "Registering .External entry points" you got on January 20. You never answered nor fixed the package, hence the package has been archived.
> 
> Best,
> Uwe Ligges
> 
> 
> 
> 
> On 10.03.2013 02:43, Kevin Hendricks wrote:
>> Hi Dan,
>> 
>> In case this catches anyone else ...
>> 
>> FWIW, I found the issue ...  in my Rinit.c, my package uses the .External call which actually takes one SEXP which points to a "varargs-like" list.
>> 
>> Under 2.15.X and earlier, I thought the proper entry for an .External call was as below since it only does take one pointer as an argument:
>> 
>> #include "Rigroup.h"
>> 
>> /* Automate using sed or something. */
>> #if _MSC_VER >= 1000
>> __declspec(dllexport)
>> #endif
>> 
>>    static const R_ExternalMethodDef R_ExtDef[] = {
>> 	{"igroupFuns", (DL_FUNC)&igroupFuns, 1},
>> 	{NULL, NULL, 0},
>>    };
>> 
>> void R_init_Rigroup(DllInfo *info)
>> {
>>  R_registerRoutines(info,NULL,NULL,NULL,R_ExtDef);
>> }
>> 
>> 
>> But now according to the latest online docs on building your own package it says:
>> 
>> "For routines with a variable number of arguments invoked viathe .External interface, one specifies -1 for the number of arguments which tells R not to check the actual number passed. Note that the number of arguments passed to .External are not currently checked but they will be in R 3.0.0."
>> 
>> So I need to change my Rinit.c to change the "1" to a "-1" and that error should go away.
>> 
>> Thanks again for all your help with this.  I will update my package and resubmit it once version 3.0 gets released and I get a chance to verify that this does in fact fix the problem.
>> 
>> Kevin
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>> 
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Jari Oksanen, Dept Biology, Univ Oulu, 90014 Finland
jari.oksanen at oulu.fi, Ph. +358 400 408593, http://cc.oulu.fi/~jarioksa



[Rd] question on why Rigroup package moved to Archive on CRAN
Jari Oksanen