[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: r-cran-partitions (NEW)



On Fri 01 Oct 2021 04:19:24 AM EDT, Andreas Tille <andreas@an3as.eu> wrote:
> I'd like to cover only those items not commented by Nilesh (I fully
> agree what he said in his mail).
>
> Am Thu, Sep 30, 2021 at 04:41:47PM +0000 schrieb Torrance, Douglas:
>> On Thu 30 Sep 2021 10:47:16 AM EDT, Nilesh Patra <nilesh@nileshpatra.info> wrote:
>> > I happened to notice that you added a uversionmangle rule to convert "1.10-2" to "1.10.2"
>> > this is not good, we are not supposed to convert hyphenations into "." for R packages,
>> > as this goes counter-productive, for managing dependencies etc.
>> > There has been a consensus on this already in the team.
>> 
>> Oops!  I didn't realize this and just made the change based Lintian's
>> hyphen-in-upstream-part-of-debian-changelog-version warning
>
> May be we should file a bug against lintian that this warning should
> not be issued (about changelog as well as the one in d/control about
> versioned dependencies).

Done: http://bugs.debian.org/995446

>> and reading that,
>> in R, '-' and '.' are equivalent for sorting version numbers.  It's even
>> mentioned in the old Debian R policy [1] as an option: "Alternatively, the
>> hyphen in the CRAN version can be translated into a dot yielding `a.b.c-d'."
>
> I think the term *old* is the significant part of the statement above
> and it should be more clearly pronounced that it was issued as a "RFC on
> first public *draft*" which would need a lot of comments - or rather
> some rewrite since several things are not valid any more (for instance
> also the "The Debian source package can in most cases retain the
> <Rpackage> name." is discouraged in the pkg-r team since we always use
> the r-cran- prefix).  Such a document should also point to the
>
>    prepare_missing_cran_package
>
> script of the dh-r package which simply does the right job to create an
> R package.  I feel some urgency to write down such things ... but well,
> that's as always with documentation.

I took the liberty of starting a simple "Quick Start" section on the team
wiki page with some of this information:
https://wiki.debian.org/Teams/r-pkg-team#Quick_Start

Doug

Reply to: