hi, i'm currently trying to figure out whether it is possible to tell a dependency that it was loaded as a dependency and by which package.
the use case is this: - packages A and B both depend on package X - package X can be loaded independently, but checks if A or B are available - when both are missing, X should throw a message - when A or B are already loaded, X should load quietly now i want to load A and B without X falsely informing me that they are missing. i.e., it should be clear to X that A is available and currently being loaded when X itself is loaded as the dependency of A. it seems .onLoad() is not the right place for X to search for A or B, because it always throws the message when the first of both packages is being loaded. any suggestions? viele grüße :: m.eik -- dipl. psych. meik michalke abt. f"ur diagnostik und differentielle psychologie institut f"ur experimentelle psychologie heinrich-heine-universit"at geb"aude 23.03.00.26 | tel +49 (0)211 8113498 40204 d"usseldorf | fax +49 (0)211 8111753 http://www.psycho.hhu.de https://reaktanz.de https://rkward.kde.org https://twitter.com/RKWardNet
signature.asc
Description: This is a digitally signed message part.
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel