Message-ID: <23186.44456.424091.706602@rob.eddelbuettel.com>
Date: 2018-02-25T12:35:52Z
From: Dirk Eddelbuettel
Subject: [R-pkg-devel] How to (conditionally) use an archived package (without Suggests)?
In-Reply-To: <10087968.f3oyTHvrcu@yrla>
On 25 February 2018 at 11:51, meik michalke wrote:
| 'Additional_repositories' is meant for R package repositories, it won't work
| with source code git repos. if a package is in 'Suggests' and can't be found
You missed the part where we create packages ("R CMD build") out of source
repos, and then place those packages in package repos. That is what drat is for.
And with Additional_repositories, it plays with the install.packages() and
update.packages() functions just as it should -- because package dependency
resolution is a powerful mechanism we like to use whereever possible.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org