Re: [R-pkg-devel] PkgA imports PkgB, and PkgB suggests PkgA?

2023-11-04 Thread Shu Fai Cheung
Many many thanks for the clarification, which is very clear! The case of testthat is a very good example, as many packages suggest it. Regards, Shu Fai On Sat, Nov 4, 2023 at 4:41 PM Iñaki Ucar wrote: > > > > El sáb., 4 nov. 2023 5:43, Shu Fai Cheung escribió: >> >> Hi All, >> >> I vaguely rec

Re: [R-pkg-devel] PkgA imports PkgB, and PkgB suggests PkgA?

2023-11-04 Thread Iñaki Ucar
El sáb., 4 nov. 2023 5:43, Shu Fai Cheung escribió: > Hi All, > > I vaguely recall that, on CRAN, if PkgA imports PkgB, then PkgB cannot > import PkgA. (Please correct me if I am wrong.) > > How about this? > > PkgA imports PkgB (because PkgA has some helper functions for using PkgB) > PkgB sugge

[R-pkg-devel] PkgA imports PkgB, and PkgB suggests PkgA?

2023-11-03 Thread Shu Fai Cheung
Hi All, I vaguely recall that, on CRAN, if PkgA imports PkgB, then PkgB cannot import PkgA. (Please correct me if I am wrong.) How about this? PkgA imports PkgB (because PkgA has some helper functions for using PkgB) PkgB suggests PkgA (because some vignettes or examples in PkgB use those helper