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

Shu Fai Cheung @hu|@|@cheung @end|ng |rom gm@||@com
Sat Nov 4 05:42:31 CET 2023


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 helpers from PkgA)

Is this allowed on CRAN?

Regards,
Shu Fai



More information about the R-package-devel mailing list