Skip to content
Prev 377466 / 398502 Next

The Suggests field in a DESCRIPTION file.

I am building a package which contains a function from which I wish to 
call the fortune() function from the fortunes package --- if that 
package is available.

I have place the line

    Suggests: fortunes

in the DESCRIPTION file.

In my code for the function that I am writing (let's call it "foo")
I put
thinking that I was following all of the prescriptions in "Writing R 
Extensions".  Yet when I do R CMD check on the package I get
What am I doing wrong?

Thanks for any insight.

cheers,

Rolf Turner

P. S.  I tried putting an "imports(fortunes)" in the NAMESPACE file, but 
this just made matters worse:
Huh?  What on earth is this actually saying?  I cannot parse this error 
message.

R. T.