From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: [outreach] Help trying to create R package Date: Fri, 2 Nov 2018 21:12:03 +0100 Message-ID: References: <20181016074412.54757b18@alma-ubu> <20181016082350.75757e6b@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIfns-0004tv-3I for guix-devel@gnu.org; Fri, 02 Nov 2018 16:12:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIfnq-0005Xe-BV for guix-devel@gnu.org; Fri, 02 Nov 2018 16:12:23 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Laura Lazzati Cc: Ricardo Wurmus , Guix-devel Hello Laura, Laura Lazzati ezt =C3=ADrta (id=C5=91pont: 201= 8. nov. 2., P, 20:45): >> >> >> I tracked it down: >> >> The cause is that: >> >> guix/import/cran.scm: >> >> (define (latest-bioconductor-package-version name) >> "Return the version string corresponding to the latest release of the >> bioconductor package NAME, or #F if the package is unknown." >> >> actually returns #f. It's a bit said that this #f is not checked >> further down. The problem is the package name. If you add an "r" before >> the package name, it should work (suppose you fixed the first problem): >> >> guix import cran --archive=3Dbioconductor rtracklayer > > Sorry for writing again on this topic. > Today I wanted to practice packaging an r package belonging to bioconduct= or, to then go on and read and work with texinfo. > After writing on IRC channel, I realized I already had this exact problem= , but thought it was a problem of other packages. > I ran again this same command, and I am getting: > > $guix import cran -a bioconductor rtracklayer > guile: warning: failed to install locale > hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' pac= kage and defining `GUIX_LOCPATH', along these lines: > > guix package -i glibc-utf8-locales > export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" > > See the "Application Setup" section in the manual, for more info. > > > > Starting download of /tmp/guix-file.kBVFop > From https://bioconductor.org/packages/release/bioc/src/contrib/rtracklay= er_1.40.6.tar.gz... > download failed "https://bioconductor.org/packages/release/bioc/src/contr= ib/rtracklayer_1.40.6.tar.gz" 404 "Not Found" > failed to download "/tmp/guix-file.kBVFop" from "https://bioconductor.org= /packages/release/bioc/src/contrib/rtracklayer_1.40.6.tar.gz" > Backtrace > (and the backtrace is the same). > > I am also new to schemas, but opened guix/import/cran.scm and saw what Bj= orn was saying. I don't know why if it is not the latest package there shou= ld be a false condition, but I don't know either why I am not getting the l= atest version from bioconductor if it is real that, for tracklayer the late= st is 42 and that file does not exist. > Any ideas? Should I spend more time trying to figure this out or should I= move on to another task, like knowing guix more deeply or learning texinfo= ? > This is not your fault, you were simply at the wrong place at the wrong tim= e :) Bioconductor 3.8 was released on October 31., so the importer, and most probably all packages not having the substitues from bioconductor are off. (It seems the release tarballs from 3.7 were removed.) There is a comment in the importer that all bioconductor packages should be updated together. We should ask Ricardo later how to proceed regarding this. > > Regards! > Laura Best regards, g_bor