Skip to content

Commit

Permalink
amend a26e5d8 and fix #58: missing .Rd extension for excluding overvi…
Browse files Browse the repository at this point in the history
…ew (#57)
  • Loading branch information
TimTaylor authored and yihui committed Dec 13, 2024
1 parent 123b141 commit c78675d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ pkg_manual = function(
links = sub(r, 'https://rdrr.io/cran/\\1/man/', links)

db = tools::Rd_db(name) # all Rd pages
intro = paste0(name, '-package') # the name-package entry (package overview)
intro = paste0(name, '-package.Rd') # the name-package entry (package overview)
entries = setdiff(names(db), intro)
db = db[c(if (overview && intro %in% names(db)) intro, entries)]
al = lapply(db, Rd_aliases)
Expand Down

0 comments on commit c78675d

Please sign in to comment.