Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions R/utilities-help.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
)[index + 1]
no_match <- index == 0
docpage[!no_match] <- paste0(
"\\link[=ggplot2::", docpage[!no_match],
"\\link[ggplot2:", docpage[!no_match],

Check warning on line 81 in R/utilities-help.R

View check run for this annotation

Codecov / codecov/patch

R/utilities-help.R#L81

Added line #L81 was not covered by tests
"]{", flat[!no_match], "}"
)
docpage[no_match] <- flat[no_match]
Expand Down Expand Up @@ -195,7 +195,7 @@
roxy_tag_rd.roxy_tag_aesthetics <- function(x, base_path, env) {
# When we document ggplot2 itself, we don't need to prefix links with ggplot2
if (basename(base_path) == "ggplot2") {
x$val <- gsub("\\link[=ggplot2::", "\\link[=", x$val, fixed = TRUE)
x$val <- gsub("\\link[ggplot2:", "\\link[=", x$val, fixed = TRUE)

Check warning on line 198 in R/utilities-help.R

View check run for this annotation

Codecov / codecov/patch

R/utilities-help.R#L198

Added line #L198 was not covered by tests
}
roxygen2::rd_section("aesthetics", x$val)
}
Expand Down