Skip to content

Commit b30b5a3

Browse files
author
hornik
committed
Allow optionally keeping internal pages in HTML index.
git-svn-id: https://svn.r-project.org/R/trunk@88319 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 45a588b commit b30b5a3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/library/tools/R/install.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2950,8 +2950,10 @@ if(FALSE) {
29502950
## should be valid in UTF-8, might be invalid in declared encoding
29512951
desc <- iconv(desc, enc, "UTF-8", sub = "byte")
29522952
}
2953-
## drop internal entries
2954-
M <- M[!M[, 4L], ]
2953+
## drop internal entries (by default)
2954+
if(!config_val_to_logical(Sys.getenv("_R_INSTALL_HTML_INDEX_INTERNAL_TOO_",
2955+
"FALSE")))
2956+
M <- M[!M[, 4L], ]
29552957
if (desc["Package"] %in% c("base", "graphics", "stats", "utils")) {
29562958
for(pass in 1:2) {
29572959
## we skip method aliases

0 commit comments

Comments
 (0)