Displaying 1 result from an estimated 1 matches for "pkgmenu".
Did you mean:
oggmenu
2007 May 14
3
RFC: allow packages to advertise vignettes on Windows
...- .readRDS(vigFile)
vigs <- file.path(.find.package(pkgName), "doc", vigMtrx[,"PDF"])
names(vigs) <- vigMtrx[,"Title"]
if (!"Vignettes" %in% winMenuNames())
winMenuAdd("Vignettes")
pkgMenu <- paste("Vignettes", pkgName, sep="/")
winMenuAdd(pkgMenu)
for (i in vigs) {
item <- sub(".pdf", "", basename(i))
winMenuAddItem(pkgMenu, item, paste("shell.exec(\"", as.character(i...