\HeaderA{is.annpkg}{Determine if packages contain annotation}{is.annpkg}
\keyword{file}{is.annpkg}
\begin{Description}\relax
Checks to see that the given packages contain all the necessary
annotation environments to be usable by annaffy.
\end{Description}
\begin{Usage}
\begin{verbatim}
  is.annpkg(packages, lib.loc = NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{packages}] character vector containing package names to check
\item[\code{lib.loc}] a character vector with path names of \R{} libraries, or \code{NULL}.
The default value of \code{NULL} corresponds to all libraries
currently known. If the default is used, the loaded packages
are searched before the libraries.

\end{ldescription}
\end{Arguments}
\begin{Value}
A logical vector indicating whether the packages contain annotation data.
\end{Value}
\begin{Author}\relax
Colin A. Smith, \email{annaffy@colinsmith.org}
\end{Author}
\begin{Examples}
\begin{ExampleCode}
pkgnames <- installed.packages()[,"Package"]
pkgnames[is.annpkg(pkgnames)]
\end{ExampleCode}
\end{Examples}


