Skip to content

Commit

Permalink
Slightly clearer commenting about is_debugged().
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthegeek committed Aug 15, 2024
1 parent 07262ba commit 0b04f88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ debugme <- function(env = topenv(parent.frame()),
)
}

# Used in get_package_style()
is_debugged <- function(pkg) {
pkg %in% names(debug_data$palette)
}
# To allow targetted mocking.
# To allow targetted mocking in debugme()
is_debugged2 <- is_debugged


Expand Down

0 comments on commit 0b04f88

Please sign in to comment.