Re: [R-pkg-devel] Imports: vs Suggests:

2018-01-06 Thread Dirk Eddelbuettel
Hugh, You may be looking at this from the wrong angle. "Imports" is really an updated variant of "Depends". Both of them declaure _unconditional_ use of another package. (How they are used is the fine distinction between loading and attaching which we'll skip here). The key point is that a

[R-pkg-devel] Imports: vs Suggests:

2018-01-06 Thread Hugh Parsonage
I write to clarify when a package should be in Imports: vs Suggests:. Does the absence of warnings following a R CMD check --as-cran guarantee that packages are placed in the correct field? For example, consider a package with only one exported function: isTrue <- function(x) hutils::AND(x,