On Thu, Feb 13, 2025 at 1:46 PM Lenth, Russell V via R-help
<r-help@r-project.org> wrote:
>
> Dear R-Help,
>
> When I submit an update to one of my packages, I decided to try to avoid 
> having to fix errors that sometimes occur in CRAN's reverse-dependency checks 
> by performing the same checks ahead of time. From what I can tell, the way to 
> do this is to use
>
>     tools::check_packages_in_dir(..., reverse = list(which = "all"), ...)
>
> It does not surprise me that this takes a lot of time! One of my packages has 
> quite a few reverse suggests, so this process installs all packages that my 
> package or any of the reverse depends requires, which is about a zillion. But 
> eventually, this works. I've learned to run this in batch mode so it doesn't 
> tie up Rgui or RStudio. That's fine; I just have a script that I can run.
>
> I have two questions:
>
> 1. While it is installing all those packages, I see a lot of chatter so I can 
> see what progress is being made, however glacial. But when it gets the the 
> phase where it checks each of the reverse-dependent packages, it is utterly 
> silent. It would be really helpful to me if check_packages_in_dir() would 
> just print a one-line message that it is checking such-and-such package.
>
> 2. Is there any way to streamline the checking? It seems to me that since all 
> the packages are already on CRAN and thus pass most checks, all that we need 
> to check for reverse dependencies are the examples, vignettes, and tests. 
> This could save a lot of time.

You may also want to try the recheck container + github action, which
runs the recheck process on public infrastructure:
https://github.com/r-devel/recheck





>
> Thanks
>
> Russ Lenth
> U of Iowa, USA
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to