| Line 28... |
Line 28... |
| 28 |
\item{pkg}{character vector. The full path to a package.}
|
28 |
\item{pkg}{character vector. The full path to a package.}
|
| 29 |
\item{force}{logical. Should the links be fixed even if the stamp is
|
29 |
\item{force}{logical. Should the links be fixed even if the stamp is
|
| 30 |
present?}
|
30 |
present?}
|
| 31 |
}
|
31 |
}
|
| 32 |
\details{
|
32 |
\details{
|
| 33 |
Cross-library links do not work on this
|
33 |
Cross-library links do not work on this platform.
|
| 34 |
platform. \code{fixup.package.URLs} attempts to correct links in the
|
34 |
\code{fixup.package.URLs} attempts to correct links in the
|
| 35 |
named package to the \code{doc} directory (usually to icons) and to
|
35 |
named package to the \code{doc} directory (usually to icons) and to the
|
| - |
|
36 |
\code{base}, \code{utils}, \code{graphics} and \code{stats} packages,
|
| 36 |
the base library, and then stamps a file \file{fixedHTMLlinks} in the
|
37 |
and then stamps a file \file{fixedHTMLlinks} in the package directory.
|
| 37 |
package directory. If that file is found, no correction is attempted
|
38 |
If that file is found, no correction is attempted unless \code{force =
|
| 38 |
unless \code{force = TRUE} or the \R installation directory (recorded
|
39 |
TRUE} or the \R installation directory (recorded in the stamp) has been
|
| 39 |
in the stamp) has been changed.
|
40 |
changed.
|
| 40 |
|
41 |
|
| 41 |
\code{fixup.libraries.URLs} calls \code{fixup.package.URLs} on all
|
42 |
\code{fixup.libraries.URLs} calls \code{fixup.package.URLs} on all
|
| 42 |
packages in current library trees except the standard one.
|
43 |
packages in current library trees except the standard one.
|
| 43 |
|
44 |
|
| 44 |
The functions will give a warning if the files are not writeable.
|
45 |
The functions will give a warning if the files are not writeable.
|
| Line 50... |
Line 51... |
| 50 |
The files
|
51 |
The files
|
| 51 |
\file{R\_HOME\\doc\\html\\packages.html} and
|
52 |
\file{R\_HOME\\doc\\html\\packages.html} and
|
| 52 |
\file{R\_HOME\\doc\\html\\search\\index.txt} are (re-)created by
|
53 |
\file{R\_HOME\\doc\\html\\search\\index.txt} are (re-)created by
|
| 53 |
\code{make.packages.html} and \code{make.search.html} respectively.
|
54 |
\code{make.packages.html} and \code{make.search.html} respectively.
|
| 54 |
}
|
55 |
}
|
| - |
|
56 |
\note{
|
| 55 |
\note{You will need write permission in the \file{R\_HOME\\doc\\html}
|
57 |
You will need write permission in the \file{R\_HOME\\doc\\html}
|
| 56 |
directory to use any of the first three functions, and in the
|
58 |
directory to use any of the first three functions, and in the
|
| 57 |
appropriate library trees to use the last two.}
|
59 |
appropriate library trees to use the last two.
|
| - |
|
60 |
}
|
| 58 |
\keyword{utilities}
|
61 |
\keyword{utilities}
|