Skip to content
Prev 2164 / 12125 Next

[R-pkg-devel] [R] Please to remove the warning when trying to check a package.

On 07/12/2017 4:43 AM, Pijush Das wrote:
Your DESCRIPTION file should list every package from which you are 
importing functions.  The usual place is in an item called "Imports"; 
"Suggests" might also be appropriate if the functions are only 
occasionally used (and you test for the presence of the optional package).
You probably missed another declaration in DESCRIPTION, i.e.

VignetteBuilder: knitr

Without this, R won't know that vignettes.Rmd is a vignette.
It's usually a bad idea to call directly to C code in another package. 
You'll need to read the referenced manual if you really want to do that.
You cut off the advice that followed "Consider adding".  You should 
follow that advice.
Just figure out which of those fields you want, and put the package 
names in just one of them.
Generally R mailing lists are plain text.  Your message was readable as 
you posted it, but if you had added code, it would likely be a mess. 
Please configure your mail program to post in plain text.

Duncan Murdoch
Message-ID: <953c5373-4692-b36f-69f4-067f13890c40@gmail.com>
In-Reply-To: <CAGa91zgxJp9k99UBuCsWRnF6yZ7fSCgyX7kE7eiAvziQFyFDHQ@mail.gmail.com>