Skip to content

Commit

Permalink
I think these commits are just performative at this point. Yet anothe…
Browse files Browse the repository at this point in the history
…r attempt
  • Loading branch information
teunbrand committed Sep 19, 2024
1 parent 7444c92 commit 998b751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/palette-registry.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ register_base_pals <- function() {
if (getRversion() < "4.0.0") {
return(invisible(NULL))
}
names <- getFromNamespace("palette.pals", "grDevices")()
palette <- getFromNamespace("palette.colors", "grDevices")
names <- utils::getFromNamespace("palette.pals", "grDevices")()
palette <- utils::getFromNamespace("palette.colors", "grDevices")
for (name in names) {
fun <- manual_pal(palette(palette = name), type = "colour")
set_palette(name, fun, warn_conflict = FALSE)
Expand Down

0 comments on commit 998b751

Please sign in to comment.