pak icon indicating copy to clipboard operation
pak copied to clipboard

Behavior when Remotes are not also listed in other dependencies

Open jimhester opened this issue 6 years ago • 2 comments

Not entirely sure what the current behavior in pkgdepends is for this, but in devtools if you don't have the Remotes also listed in one of the other fields it is silently skipped.

I now think we may want to either install them regardless or throw an error in this case, but silently ignoring them just leads to confusion.

jimhester avatar Feb 04 '18 16:02 jimhester

I don't think pkgdepends should fail, because this might happen downstream, and then it will be very annoying if you need a package that you don't maintain, and thus cannot fix. pkgdepends should install them, anyway, I think.

I think devtools::load_all() or desc should fail/warn about this, then the package maintainer is targeted.

gaborcsardi avatar Feb 04 '18 17:02 gaborcsardi

remotes now installs these packages anyway, which I think we should probably do in pak / pkgdepends as well

jimhester avatar Aug 18 '20 20:08 jimhester