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

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Wed Apr 3 01:30:55 CEST 2024



On 02.04.2024 14:07, Dirk Eddelbuettel wrote:
> 
> On 1 April 2024 at 17:44, Uwe Ligges wrote:
> | Untested:
> |
> | install.packages() calls available.packages() to find out which packages
> | are available - and passes a "filters" argument if supplied.
> | That can be a user defined filter. It should be possible to write a user
> | defined filter which prefers the packages in your local repo.
> 
> Intriguing.  Presumably that would work for update.packages() too?

Yes. I think so.

Best,
Uwe


> 
> (We actually have a use case at work, and as one way out I created another
> side-repo to place a package with an incremented version number so it would
> 'win' on hightest version; this is due to some non-trivial issues with the
> underlying dependencies.)
> 
> Dirk
> 


More information about the R-package-devel mailing list