Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix package name display in help title

  • Loading branch information...
commit 40f27249849e97c805a2eba9056e9d23f8453512 1 parent 6551a4f
@hadley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  R/help.r
View
2  R/help.r
@@ -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)
}
Please sign in to comment.
Something went wrong with that request. Please try again.