From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Move r-{desolve, quadprog, pracma, subplex} from maths.scm to cran.scm Date: Tue, 10 Dec 2019 16:38:29 +0100 Message-ID: <87d0cw5gy2.fsf@elephly.net> References: <871ru0c6iq.fsf@elephly.net> <87h8286090.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43443) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iehaw-0002T7-H4 for guix-devel@gnu.org; Tue, 10 Dec 2019 10:38:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iehav-000302-Bc for guix-devel@gnu.org; Tue, 10 Dec 2019 10:38:38 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iehau-0002zF-UH for guix-devel@gnu.org; Tue, 10 Dec 2019 10:38:37 -0500 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: zimoun Cc: Guix Devel zimoun writes: > If I understand well, the policy is: the packages in the file cran.scm > cannot import '(gnu packages bioconductor). Yes. It=E2=80=99s not official policy, but I think we should avoid mutually recursive module imports when we have a choice. > In the file cran.scm, for example the packages r-shiny or r-sankeyd3 > do not come from CRAN but directly from Github. > Maybe, we could group all the 6 non-CRAN packages and the 4 CRAN > packages depending on Bioconductor to a unique file. > > What do you think? Yes, the should probably be moved. It=E2=80=99s also very easy to miss them when doing mass upgrades, hidden among all these CRAN packages. >> > 2. >> > The second point is that the file statistics.scm contains 227 packages >> > and 206 are cran-uri. And the file cran.scm already contains 602 >> > packages, so it will be almost as python-xyz.scm is. Why not. Then, >> > this file statistics.scm will be almost empty and I propose instead to >> > populate the files maths.scm, python-xyz.scm. >> > >> > What do you think? >> >> statistics.scm was the only thing we had for R in the beginning. When >> it grew and it became apparent that more and more CRAN packages would be >> added, I felt that the module became less suitable. > > Sorry, my words was not good enough. I propose to remove the file > statistics.scm by reordering the packages. I think it=E2=80=99s fine to keep statistics.scm even when it=E2=80=99s sma= ll. R and pspp *are* stats packages after all, so this module remains the perfect location for them. >> I don=E2=80=99t understand your comment about =E2=80=9Cmaths.scm=E2=80= =9D and =E2=80=9Cpython-xyz.scm=E2=80=9D. >> I think it=E2=80=99s good to move CRAN and Bioconductor packages out of >> statistics.scm whenever possible. We can leave the actual statistics >> programs there as well as potentially unmovable CRAN packages. > > In the file statistics.scm, once move to cran.scm or bioconductor.scm, > there is few packages. For example 2 packages coming from PyPI and I > propose to move them to the file python-xyz.scm. The other ones could > be moved to the file maths.scm or the unamed (yet) file (see above). I=E2=80=99d like to avoid moving anything *to* python-xyz.scm, because it= =E2=80=99s a bit of a dump. I think it=E2=80=99s fine to just focus on the R packages f= or now and address the rest later =E2=80=94 if at all. -- Ricardo