From 8d14eca779519d5168a8332820eb4a758ea3eb56 Mon Sep 17 00:00:00 2001 From: Tim Taylor Date: Fri, 13 Dec 2024 14:00:15 +0000 Subject: [PATCH] Fix missing Rd extension (for excluding overview) (#57) a26e5d8892fe3ba76a2e1a6285aaf9bc6d59b23d didn't quite work as it was missing the Rd extension. --- R/package.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/package.R b/R/package.R index d4e9200..888ec49 100644 --- a/R/package.R +++ b/R/package.R @@ -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)