Permalink
Browse files

Fix package name display in help title

  • Loading branch information...
1 parent 6551a4f commit 40f27249849e97c805a2eba9056e9d23f8453512 @hadley hadley committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/help.r
View
@@ -24,7 +24,7 @@ dev_help <- function(topic, stage = "render", type = getOption("help_type")) {
stop("Could not find topic ", topic, " in: ", dev)
}
- pkg <- names(path)[1]
+ pkg <- basename(names(path)[1])
view_rd(path, pkg, stage = stage, type = type)
}

0 comments on commit 40f2724

Please sign in to comment.