From kasperdanielhansen at gmail.com  Tue Aug 19 21:53:24 2014
From: kasperdanielhansen at gmail.com (Kasper Daniel Hansen)
Date: Tue, 19 Aug 2014 15:53:24 -0400
Subject: [Rd] Is using devtools::release no longer allowed?
In-Reply-To: <53F39D42.9070708@gmail.com>
References: <CAPp_+=f5V4GmfndxD-e96Er+kqVB0kKtYQfUHK8XvMFKXw3USg@mail.gmail.com>
	<53F35729.2090301@gmail.com>
	<53F38EBC.8010809@statistik.tu-dortmund.de>
	<21491.37916.790888.953720@max.nulle.part>
	<CAN_1p9zjfN=Fokxc9++sPbdef91udg_YFH5eDoHiMrFkAz7B5w@mail.gmail.com>
	<53F39D42.9070708@gmail.com>
Message-ID: <CAC2h7ut+XbTNwe=scXZ-=YihphLTruXO3UuO2CsrnumJxBDL2w@mail.gmail.com>

Given the seeming need for automated submission to CRAN, perhaps the repos
maintainers could consider making a function available that allows one to
do so, for example
  source("http://www.cran.r-project.org/submit_to_cran.R")
  submit_to_cran("PACKAGE.TARBALL", REQUIRED_ARGUMENTS)
or perhaps be interested in a community developed script?  Although I
recognize how easy it is for me to suggest work for others, it seems like
such a script would cut down on everyones work, long-term.

Best,
Kasper




On Tue, Aug 19, 2014 at 2:53 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:

> On 19/08/2014 2:40 PM, Carl Boettiger wrote:
>
>> Dirk, listeners,
>>
>> Perhaps you would consider using omegahat's RHTMLForms instead?
>>
>>      library("RHTMLForms")
>>      forms <- getHTMLFormDescription("http://xmpalantir.wu.ac.at/
>> cransubmit/
>> ")
>>      submit_to_cran <- createFunction(forms[[1]])
>>
>> Should create a function called "submit_to_cran" with arguments
>> corresponding to the webform blanks, e.g.
>>
>> submit_to_cran(name = "packagename", email = "youremail", uploaded_file =
>> "package.tar.gz", comment = "the optional comment")
>>
>> (clearly you could fill those details in from the submitting package
>> description).  I haven't tested this.
>>
>>
>>
> If you use this, make sure you test it well enough to get it perfect the
> very first time you use it.  If I were a CRAN administrator and received a
> series of bad submissions from someone who was working out the bugs, I
> would not find it difficult either technically or morally to permanently
> ban that user from ever submitting anything again.
>
> Duncan Murdoch
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]



[Rd] Is using devtools::release no longer allowed?
Kasper Daniel Hansen