\HeaderA{makeLazyLoading}{Lazy Loading of Packages}{makeLazyLoading}
\keyword{utilities}{makeLazyLoading}
\begin{Description}\relax
Tools for lazy loading of packages from a database.
\end{Description}
\begin{Usage}
\begin{verbatim}
makeLazyLoading(package, lib.loc = NULL, compress = TRUE,
                keep.source = getOption("keep.source.pkgs"))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{package}] package name string
\item[\code{lib.loc}] library trees, as in \code{library}
\item[\code{keep.source}] logical; should sources be kept when saving from source
\item[\code{compress}] logical; whether to compress entries on the database.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
A tool to set up packages for lazy loading from a database.  For
packages other than \pkg{base} you can use
\code{makeLazyLoading(package)} to convert them to use lazy loading.
\end{Details}
\begin{Author}\relax
Luke Tierney and Brian Ripley
\end{Author}
\begin{Examples}
\begin{ExampleCode}
## set up package "splines" for lazy loading -- already done
## Not run: 
tools:::makeLazyLoading("splines")
## End(Not run)
\end{ExampleCode}
\end{Examples}

