unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: guix-devel@gnu.org
Subject: Re: [PATCH] Add recursive CRAN importer
Date: Tue, 24 May 2016 15:08:32 +0200	[thread overview]
Message-ID: <idjd1ob4n8v.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <1464094411-8277-1-git-send-email-ricardo.wurmus@mdc-berlin.de>

Hi Guix,

I’m sorry for the confusion.  I accidentally resent this cover letter
along with the patch for r-knitrbootstrap.

Please note that the patch for r-knitrbootstrap has nothing to do with
the recursive CRAN importer patches.

~~ Ricardo


Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:

> attached is a patch series that gives us a recursive CRAN importer.  I still
> haven't documented it in the manual, because I'm not sure if the
> implementation is acceptable.
>
> Simply put, the procedure that produces a package expression now returns
> multiple values.  The first is the package expression, the second is a list of
> dependencies (with their upstream names).  This allows us to go through that
> list and check if any unpackaged inputs are among them.
>
> The recursive importer stops when a package cannot be imported (e.g. when a
> bioconductor package has unpackaged CRAN dependencies), or when all packages
> either already existed at runtime or have been packaged.
>
> To make this work well I had to create a list of packages that should not be
> imported (because they are part of the default R installation), and I had to
> make sure that R packages always get a predictable Guix package name.
>
> Comments are very welcome!
>
> ~~ Ricardo

  parent reply	other threads:[~2016-05-24 13:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 12:53 [PATCH] Add recursive CRAN importer Ricardo Wurmus
2016-05-24 12:53 ` [PATCH] gnu: Add r-knitrbootstrap Ricardo Wurmus
2016-05-27 17:00   ` Leo Famulari
2016-05-28  7:36     ` Ricardo Wurmus
2016-05-28 15:56       ` Leo Famulari
2016-05-24 13:08 ` Ricardo Wurmus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-23 15:40 [PATCH] Add recursive CRAN importer Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=idjd1ob4n8v.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).