[R-pkg-devel] Order of repo access from options("repos")
    Dirk Eddelbuettel 
    edd @end|ng |rom deb|@n@org
       
    Tue Apr  2 14:07:14 CEST 2024
    
    
  
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?
(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
-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
    
    
More information about the R-package-devel
mailing list