From a22a0f1f41a78f15864e07ff227086be1247dcd7 Mon Sep 17 00:00:00 2001 From: blundellc Date: Sat, 13 Sep 2008 13:19:22 +0000 Subject: [PATCH] update_cache: use Rscript instead of littler. litter sets tempdir() to /tmp (or whatever is in one of the many TMP environment variables) whereas Rscript is as R: tempdir() returns a per-session temporary directory. Rscript seems more sane on this one. Manifested as a bug: cran2deb update cran2deb build DPpackage -> 404 no such package found in CRAN -> but DPpackage in available.packages?! -> available.packages using old cache (hence old version of package metadata) Rscript cleans up each time. littler doesn't. git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@66 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- pkg/trunk/exec/update_cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/trunk/exec/update_cache b/pkg/trunk/exec/update_cache index 659b503..ec20ccb 100755 --- a/pkg/trunk/exec/update_cache +++ b/pkg/trunk/exec/update_cache @@ -1,4 +1,4 @@ -#!/usr/bin/env r +#!/usr/bin/env Rscript library(cran2deb) library(ctv) #mirror <- 'http://cran.uk.r-project.org/' -- 2.39.2