Skip to content
Prev 4499 / 12125 Next

[R-pkg-devel] Appropriate usage of 'Suggests' -- package installed conditional on other software not found

Hi Dirk,
Yes, I noticed that, but didn't want people to be potentially misled since you didn't "RC"  ;)
As it turns out, a lot, but I'm sure vastly fewer than you. The car package, e.g., has many reverse dependencies that I check before a new version of the package goes to CRAN.
Well, never of course, but shouldn't interactive prompts only appear in interactive sessions -- e.g., enclosed in if (interactive()) {} in an example?

Moreover, I wasn't trying to argue that one *should* necessarily do this, just point out that one can in certain circumstances without violating CRAN policies. In the original context of this thread, a simple error message indicating that LaTeX is absent probably would suffice.

Best,
 John