eddelbuettel / drat

Drat R Archive Template
https://eddelbuettel.github.io/drat
151 stars 101 forks source link

remove / prune a repo with higher version number? #32

Closed cboettig closed 9 years ago

cboettig commented 9 years ago

Hi @eddelbuettel ,

Is there a way to remove a repo with a higher version number (e.g. with pruneRepo?) I've encountered the case where a developer accidentally committed a higher version number on an older set of sources https://github.com/cloudyr/aws.s3/issues/22#issuecomment-125763465 and wonder if I just need to remove the package src and edit PACKAGES etc manually now...

eddelbuettel commented 9 years ago

hi @cboettig -- that strikes me as a little more one-off-ish and not quite ready for a command. git rm and recompute the indices ...

cboettig commented 9 years ago

agreed

jangorecki commented 8 years ago

It may be worth to put a note about such case in DratForPackageAuthors