From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42172) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqsBA-0006FB-Qb for guix-patches@gnu.org; Fri, 26 Jul 2019 00:50:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqsB9-0003Hy-JB for guix-patches@gnu.org; Fri, 26 Jul 2019 00:50:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqsB9-0003Ei-AH for guix-patches@gnu.org; Fri, 26 Jul 2019 00:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqsB8-0008Nw-6G for guix-patches@gnu.org; Fri, 26 Jul 2019 00:50:02 -0400 Subject: [bug#36805] Small patch to remove TODO for (@@ (guix build-system r) bioconductor-uri) Resent-Message-ID: Message-ID: <8a97ec5ed0d1f657731c22593a1f6696af2434dc.camel@gmail.com> From: Kyle Andrews Date: Fri, 26 Jul 2019 00:17:05 -0400 In-Reply-To: References: <92658660d50853e4eec92f536d8b3eb720aab911.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: zimoun Cc: 36805@debbugs.gnu.org On Thu, 2019-07-25 at 15:48 +0200, zimoun wrote: > Dear, > > It appears to me nice---if for example one wants to create a channel > for Bioconductor 3.6 or older. > This eases the automation of such channel. > > I am using the package `cytofkit`, removed in the last release: > https://bioconductor.org/about/removed-packages/ > > Append strings to build the uri is not really nice. > https://github.com/zimoun/guix-bimsb/blob/master/bimsb/packages/stagi > ng.scm#L2895-L2941 > > Thank you for this suggestion. > > > All the best, > simon Hi Simon, I find it sometimes convenient to use a modified version of the file.path function in R to save me from myself a bit with file paths while also adding some semantic markup. Perhaps it would also be useful for building Guix packages? Users would then seldom have to worry about incorrectly including trailing slashes. I created a code snippet with my naive implementation here: https://gitlab.com/snippets/1879185 Maybe there is already a guile library for this sort of thing? Regards, Kyle