\HeaderA{addVigs2WinMenu}{Add Menu Items to an Existing/New Menu of Window}{addVigs2WinMenu}
\keyword{interface}{addVigs2WinMenu}
\begin{Description}\relax
This function adds a menu item for a package's vignettes.
\end{Description}
\begin{Usage}
\begin{verbatim}
addVigs2WinMenu(pkgName)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pkgName}] \code{pkgName} - a character string for the name of an
R package
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The original functions \code{addVig2Menu}, \code{addVig4Win}, \code{addVig4Unix}, \code{addNonExisting}, \code{addPDF2Vig} have been replaced by \code{addVigs2WinMenu}, please use those instead.
\end{Details}
\begin{Value}
The functions do not return any value.
\end{Value}
\begin{Author}\relax
Jianhua Zhang and Jeff Gentry
\end{Author}
\begin{Examples}
\begin{ExampleCode}
    # Only works for windows now
    if(interactive() && .Platform$OS.type == "windows" &&
             .Platform$GUI == "Rgui"){
        addVigs2WinMenu("Biobase")
    }
\end{ExampleCode}
\end{Examples}

