r-lib / revdepcheck

R package reverse dependency checking
https://revdepcheck.r-lib.org
Other
101 stars 32 forks source link

revdepcheck against repository different than CRAN #333

Open maksymiuks opened 2 years ago

maksymiuks commented 2 years ago

Hi

first of all, I'd like to thank you a lot for your marvelous under this package. I think it really makes developer life easier.

I find it difficult to use revdepcheck for my use case and wanted to ask you whether it is possible or is planned to be possible in the near future. I'm building a company-wide CRAN-like repository of R packages. I wanted the reverse dependencies to check to be part of the submissions process that happens prior to updating the package in this repository. The most important part of this check is performing it in isolation from CRAN, checks should only be executed against packages available in my custom repository. Is it possible to do such a thing with the vanilla version of revdepcheck? If not, can I do it in finite time by forking this package and altering a few lines? It seems like caching options(repos) or even masking CRAN with a link to my custom repo changes nothing.

I see revdepcheck as a great tool that makes the developer work much easier, but I find it pretty limiting that it hardcodes and assumes CRAN as the target repo disallowing custom ones.

Best Szymon Maksymiuk

maksymiuks commented 2 years ago

Hi, @gaborcsardi I see you've added a label to this issue. Do you have any plans to implement it in the near future?

I volunteer to help in case it's needed, this feature is rather pressing for our use case so we are happy to invest resources into it. Obviously, provided you consider it to be within the scope of this package.

gaborcsardi commented 2 years ago

Sure, a PR is welcome. Thanks!

maksymiuks commented 2 years ago

@gaborcsardi FYI there is an PR pending review that implements that feature https://github.com/r-lib/revdepcheck/pull/334