[R-pkg-devel] Depending on R 4.5.0 because a related package depends on it?

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sun Jun 29 10:02:38 CEST 2025


On 2025-06-29 1:56 a.m., Shu Fai Cheung wrote:
> Hi All,
> 
> I would like to ask a quick question.
> 
> I am the maintainer of Package A, which imports Package B, and Package
> B imports Package C.
> 
> An R-CMD-check action on an old release of R, conducted by GitHub
> action, failed, because Package C depends on R 4.5.0. However, I found
> that several other packages that import Package C, including Package
> B, do not require R 4.5.0. They also did not fail in all the CRAN
> package checks, including those r-oldrel-* checks.
> 
> Does it mean that I can safely ignore that failure and submit a new
> version of my package to CRAN? I can change Package A to depend on R
> 4.5.0 if necessary. I just wonder whether I have to do so.

There's no quick answer to this.  You should show us the error you 
received, and name the packages involved.

Duncan Murdoch



More information about the R-package-devel mailing list