Skip to content

Commit

Permalink
Remove leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymiuks committed Oct 18, 2024
1 parent 26d1546 commit aeb7ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_rd.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# constants
# Deafult R macros location defined in R documentation
DEFAULT_R_MACROS <- file.path(R.home("share"), "Rd", "macros", "system.Rd")

#' Safely retrieve help documentation objects
Expand Down Expand Up @@ -37,7 +38,6 @@ get_rd <- function(
topic,
package,
file = NULL,
# Deafult R macros location defined in R documentation
macros = NULL) {
if (!is.null(file)) {
macros <- if (is.null(macros) && (root <- find_package_root(file)) != "") {
Expand Down

0 comments on commit aeb7ae5

Please sign in to comment.