Re: [Rd] Suggested change to

From: Uwe Ligges <>
Date: Mon, 07 Jun 2010 12:15:30 +0200

On 04.06.2010 17:11, Dominick Samperi wrote:
> Under Linux the cleanup script (if it exists) is run at the end, before
> the package archive is created, and this prevents intermediate files
> that are no longer needed from being written to the archive.
> Unfortunately, this does not happen under Windows when there
> is a That is, is not run before the
> archive is created.
> Here is the code in that checks for cleanup and runs
> it before building the archive:
> if(!$WINDOWS&& -x "./cleanup") {
> $log->message("running cleanup");
> R_system("./cleanup");
> }
> But the case where $WINDOWS is true is never
> addressed.
> The problem can be resolved by adding:
> if($WINDOWS&& -e "./") {
> $log->message("running");
> R_system("./")
> }
> Does this make sense?

Since changes can only happen for R-devel, I'd suggest to think about the *R* code in R-devel rather than a perl script that does not exists any more (just its backup copy exists) in the current R-devel sources.

Another point to be considered is why you need a cleanup script. I have rarely seen cases where this is required.

Uwe Ligges

> Thanks,
> Dominick
> [[alternative HTML version deleted]]
> ______________________________________________
> mailing list
> mailing list Received on Mon 07 Jun 2010 - 10:22:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jun 2010 - 14:30:58 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive