unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Outdated package "r-scales"
@ 2015-09-09 19:50 Vicente Vera
  2015-09-09 20:02 ` Vicente Vera
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vicente Vera @ 2015-09-09 19:50 UTC (permalink / raw)
  To: guix-devel

Hello,
Right now installing r-ggplot2 fails because dependency r-scales can't
be found on CRAN mirrors:

ERROR: download failed
"http://cran.../src/contrib/scales_0.2.5.tar.gz" 404 "Not Found"

Current version of r-scales is "0.3.0".

'guix download' output:

starting download of `/tmp/guix-file.DyKVF9' from
`http://cran.rstudio.com/src/contrib/scales_0.3.0.tar.gz'...
 scales_0.3.0.tar.gz  56KiB      124KiB/s 00:00:00 [####################] 100.0%
/gnu/store/gjk0cdfyi83gygcka0ai1cvmqvcv10ab-scales_0.3.0.tar.gz
1kkgpqzb0a6lnpblhcprr4qzyfk5lhicdv4639xs5cq16n7bkqgl

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Outdated package "r-scales"
  2015-09-09 19:50 Outdated package "r-scales" Vicente Vera
@ 2015-09-09 20:02 ` Vicente Vera
  2015-09-09 20:19 ` Cyril Roelandt
  2015-09-10  9:54 ` Ludovic Courtès
  2 siblings, 0 replies; 8+ messages in thread
From: Vicente Vera @ 2015-09-09 20:02 UTC (permalink / raw)
  To: guix-devel

Messed up. It should say:

Current version of R package scales is 0.3.0. In Guix, version of
package r-scales is 0.2.5.

The output of 'guix download' shows the hash of the new "0.3.0"
version of scales.

2015-09-09 16:50 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
> Hello,
> Right now installing r-ggplot2 fails because dependency r-scales can't
> be found on CRAN mirrors:
>
> ERROR: download failed
> "http://cran.../src/contrib/scales_0.2.5.tar.gz" 404 "Not Found"
>
> Current version of r-scales is "0.3.0".
>
> 'guix download' output:
>
> starting download of `/tmp/guix-file.DyKVF9' from
> `http://cran.rstudio.com/src/contrib/scales_0.3.0.tar.gz'...
>  scales_0.3.0.tar.gz  56KiB      124KiB/s 00:00:00 [####################] 100.0%
> /gnu/store/gjk0cdfyi83gygcka0ai1cvmqvcv10ab-scales_0.3.0.tar.gz
> 1kkgpqzb0a6lnpblhcprr4qzyfk5lhicdv4639xs5cq16n7bkqgl

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Outdated package "r-scales"
  2015-09-09 19:50 Outdated package "r-scales" Vicente Vera
  2015-09-09 20:02 ` Vicente Vera
@ 2015-09-09 20:19 ` Cyril Roelandt
  2015-09-09 21:25   ` Vicente Vera
  2015-09-09 21:35   ` Alex Kost
  2015-09-10  9:54 ` Ludovic Courtès
  2 siblings, 2 replies; 8+ messages in thread
From: Cyril Roelandt @ 2015-09-09 20:19 UTC (permalink / raw)
  To: guix-devel; +Cc: vicentemvp

On 09/09/2015 09:50 PM, Vicente Vera wrote:
> Hello,
> Right now installing r-ggplot2 fails because dependency r-scales can't
> be found on CRAN mirrors:
> 
> ERROR: download failed
> "http://cran.../src/contrib/scales_0.2.5.tar.gz" 404 "Not Found"
> 

Are old versions always removed from the CRAN mirrors?

Could you send a patch to update r-scales?

Thanks,
Cyril.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Outdated package "r-scales"
  2015-09-09 20:19 ` Cyril Roelandt
@ 2015-09-09 21:25   ` Vicente Vera
  2015-09-09 21:35   ` Alex Kost
  1 sibling, 0 replies; 8+ messages in thread
From: Vicente Vera @ 2015-09-09 21:25 UTC (permalink / raw)
  To: Cyril Roelandt; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

Patch attached.

2015-09-09 17:19 GMT-03:00 Cyril Roelandt <tipecaml@gmail.com>:
> On 09/09/2015 09:50 PM, Vicente Vera wrote:
>> Hello,
>> Right now installing r-ggplot2 fails because dependency r-scales can't
>> be found on CRAN mirrors:
>>
>> ERROR: download failed
>> "http://cran.../src/contrib/scales_0.2.5.tar.gz" 404 "Not Found"
>>
>
> Are old versions always removed from the CRAN mirrors?
>
> Could you send a patch to update r-scales?
>
> Thanks,
> Cyril.
>

[-- Attachment #2: 0001-gnu-r-scales-Update-to-0.3.0.patch --]
[-- Type: text/x-patch, Size: 1150 bytes --]

From f70dc3b10fc9274ca3b6d95f966928e7ed71432d Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Wed, 9 Sep 2015 18:07:09 -0300
Subject: [PATCH] gnu: r-scales: Update to 0.3.0.

* gnu/packages/statistics.scm (r-scales): Update to 0.3.0.
---
 gnu/packages/statistics.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 29cd34a..2e89fa9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -445,14 +445,14 @@ using just two functions: melt and dcast (or acast).")
 (define-public r-scales
   (package
     (name "r-scales")
-    (version "0.2.5")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://cran/src/contrib/scales_"
                            version ".tar.gz"))
        (sha256
-        (base32 "12xrmn1vh64dl46bq7n7pa427aicb2ifjrby9in3m32nyvir0kac"))))
+        (base32 "1kkgpqzb0a6lnpblhcprr4qzyfk5lhicdv4639xs5cq16n7bkqgl"))))
     (build-system r-build-system)
     (propagated-inputs
      `(("r-dichromat" ,r-dichromat)
-- 
2.5.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: Outdated package "r-scales"
  2015-09-09 20:19 ` Cyril Roelandt
  2015-09-09 21:25   ` Vicente Vera
@ 2015-09-09 21:35   ` Alex Kost
  2015-09-10  9:52     ` Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: Alex Kost @ 2015-09-09 21:35 UTC (permalink / raw)
  To: guix-devel

Cyril Roelandt (2015-09-09 23:19 +0300) wrote:

> On 09/09/2015 09:50 PM, Vicente Vera wrote:
>> Hello,
>> Right now installing r-ggplot2 fails because dependency r-scales can't
>> be found on CRAN mirrors:
>> 
>> ERROR: download failed
>> "http://cran.../src/contrib/scales_0.2.5.tar.gz" 404 "Not Found"
>> 
>
> Are old versions always removed from the CRAN mirrors?

Hm, it looks like there is a separate URL for the latest tarball:

  mirror://cran/src/contrib/<package_version>.tar.gz

and an archive of the previous versions:

  mirror://cran/src/contrib/Archive/<package>/<package_version>.tar.gz

-- 
Alex

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Outdated package "r-scales"
  2015-09-09 21:35   ` Alex Kost
@ 2015-09-10  9:52     ` Ludovic Courtès
  2015-09-10 10:02       ` Ricardo Wurmus
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-09-10  9:52 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> skribis:

> Cyril Roelandt (2015-09-09 23:19 +0300) wrote:
>
>> On 09/09/2015 09:50 PM, Vicente Vera wrote:
>>> Hello,
>>> Right now installing r-ggplot2 fails because dependency r-scales can't
>>> be found on CRAN mirrors:
>>> 
>>> ERROR: download failed
>>> "http://cran.../src/contrib/scales_0.2.5.tar.gz" 404 "Not Found"
>>> 
>>
>> Are old versions always removed from the CRAN mirrors?
>
> Hm, it looks like there is a separate URL for the latest tarball:
>
>   mirror://cran/src/contrib/<package_version>.tar.gz
>
> and an archive of the previous versions:
>
>   mirror://cran/src/contrib/Archive/<package>/<package_version>.tar.gz

Then I think we should always add the two URLs and change the importer
to do so.

Ricardo, WDYT?

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Outdated package "r-scales"
  2015-09-09 19:50 Outdated package "r-scales" Vicente Vera
  2015-09-09 20:02 ` Vicente Vera
  2015-09-09 20:19 ` Cyril Roelandt
@ 2015-09-10  9:54 ` Ludovic Courtès
  2 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-09-10  9:54 UTC (permalink / raw)
  To: Vicente Vera; +Cc: guix-devel

Vicente Vera <vicentemvp@gmail.com> skribis:

> Right now installing r-ggplot2 fails because dependency r-scales can't
> be found on CRAN mirrors:
>
> ERROR: download failed
> "http://cran.../src/contrib/scales_0.2.5.tar.gz" 404 "Not Found"

This has apparently failed from day 1, which is why there are no
substitutes available at hydra.gnu.org:

  http://hydra.gnu.org/job/gnu/master/r-scales-0.2.5.x86_64-linux

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Outdated package "r-scales"
  2015-09-10  9:52     ` Ludovic Courtès
@ 2015-09-10 10:02       ` Ricardo Wurmus
  0 siblings, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2015-09-10 10:02 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, Alex Kost


Ludovic Courtès <ludo@gnu.org> writes:

>> Hm, it looks like there is a separate URL for the latest tarball:
>>
>>   mirror://cran/src/contrib/<package_version>.tar.gz
>>
>> and an archive of the previous versions:
>>
>>   mirror://cran/src/contrib/Archive/<package>/<package_version>.tar.gz
>
> Then I think we should always add the two URLs and change the importer
> to do so.

I’ll investigate this soon (most likely next week as I’m currently at a
conference) and update the importer.

My apologies for the inconvenience.  I did not know that the URLs are
not stable.

~~ Ricardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-10 10:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-09 19:50 Outdated package "r-scales" Vicente Vera
2015-09-09 20:02 ` Vicente Vera
2015-09-09 20:19 ` Cyril Roelandt
2015-09-09 21:25   ` Vicente Vera
2015-09-09 21:35   ` Alex Kost
2015-09-10  9:52     ` Ludovic Courtès
2015-09-10 10:02       ` Ricardo Wurmus
2015-09-10  9:54 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).