Skip to content

Commit

Permalink
Update for new inside-r url scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Apr 23, 2014
1 parent 2cbd23d commit d35d31b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/to-html.r
Expand Up @@ -257,8 +257,8 @@ make_link <- function(loc, label, pkg = NULL) {
if (is.null(loc$package)) {
str_c("<a href='", loc$file, "'>", label, "</a>")
} else {
str_c("<a href='http://www.inside-r.org/r-doc/", loc$package, "/",
loc$topic, "'>", label, "</a>")
str_c("<a href='http://www.inside-r.org/packages/cran/", loc$package,
"/docs/", loc$topic, "'>", label, "</a>")
}
}

Expand Down

0 comments on commit d35d31b

Please sign in to comment.