[Rd] Port r89945 to trunk?

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Sat Sep 5 00:05:31 CEST 2026


>>>>> Ivan Krylov 
>>>>>     on Fri, 4 Sep 2026 16:19:08 +0300 writes:

    > On R-devel/Windows, old.packages(type="both") fails when
    > there exist binary packages with no corresponding source
    > package:

    >> old.packages()
    > Error in av.src[pkg.bin, "Version"] : subscript out of
    > bounds

    .................
    
    > In R-4.6.1 this is solved by r89945 excluding such
    > (archived) packages from the return value with a
    > warning. Can we have this on trunk, or do we need a
    > different solution (something to do with the unified
    > binary packages)?

    > -- 
    > Best regards, Ivan

Thank you, Ivan.
Indeed, it was

------------------------------------------------------------------------
r89945 | pd | 2026-04-22 15:34:48 +0200 (Wed, 22 Apr 2026) | 1 line
Changed paths:
   M /branches/R-4-6-branch/src/library/utils/R/packages.R

stopgap for CRAN inconsistencies: expliitly omit packages with no corresponding source
------------------------------------------------------------------------

which was shortly before the release manager (pd) switched "R
patched" to R-alpha (etc) i.e. pre-releases..

.. and indeed, R-devel has added *other* changes in the mean
time..
Still, I think you are right this bug should no longer be in
R-devel, even when the April "stop gap" fix was "forgotten" or
in any case the problem still existing in R-devel  is not good
at all.

As this is _not_ something I've been using too often,
I'd rather have other R corers step up ..

Martin



More information about the R-devel mailing list