From ligges at statistik.tu-dortmund.de  Wed Mar 28 16:00:02 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Wed, 28 Mar 2012 16:00:02 +0200
Subject: [Rd] CRAN policies
In-Reply-To: <CABdHhvF7Uf0M=8LmC==voQoeTNazNJD0ViiLBTWoZznFzO-SWw@mail.gmail.com>
References: <4F71A2F3.2000203@stats.ox.ac.uk> <4F71AA0A.9050702@stats.ox.ac.uk>
	<CABdHhvF7Uf0M=8LmC==voQoeTNazNJD0ViiLBTWoZznFzO-SWw@mail.gmail.com>
Message-ID: <4F731962.4020407@statistik.tu-dortmund.de>



On 28.03.2012 00:07, Hadley Wickham wrote:
> On Tue, Mar 27, 2012 at 6:52 AM, Prof Brian Ripley
> <ripley at stats.ox.ac.uk>  wrote:
>> CRAN has for some time had a policies page at
>> http://cran.r-project.org/web/packages/policies.html
>> and we would like to draw this to the attention of package maintainers.  In
>> particular, please
>
> Thanks for the pointer - I did not know that this page existed. In
> general, is there some easy way to track changes to this page and the
> R extension manual over time?  It is difficult to keep track of the
> best practices.
>
> I'd also like to get clarification on "Packages should not write in
> the users' home filespace, nor anywhere else on the file system apart
> from the R session's temporary directory (or during installation in
> the location pointed to by TMPDIR: and such usage should be cleaned
> up)." - what is recommended practice for packages to maintain state
> across instances?  Operating systems have standards for where
> applications can store settings (e.g. as described in
> http://pypi.python.org/pypi/appdirs/1.2.0).  Is it acceptable to for
> packages to follow these conventions?


The policy is meant not to overwrite user data or generate loads of 
temporary files from examples and pollute, e.g., the owkring directory.

Uwe Ligges




> Hadley
>



[Rd] CRAN policies
Uwe Ligges