Skip to content
Prev 10435 / 12125 Next

[R-pkg-devel] Order of repo access from options("repos")

It may also be useful to use:

    options(internet.info = 1)

to get more information on the web requests R is making. (See the
documentation in ?options for more details.)

Looking at the source code in available.packages, R does iterate
through the repositories in the same order they're provided, so I'd
suspect some kind of other issue. (Output somehow getting misordered
in your build logs? Repository options being unexpectedly reordered in
your CI build somewhere?)

FWIW, I think the order that repositories are visited could matter if
the same package is offered by multiple repositories -- the selected
repository could depend on the order of declaration.

Best,
Kevin
On Sun, Mar 31, 2024 at 4:55?AM Dirk Eddelbuettel <edd at debian.org> wrote: