Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
ambarja committed Feb 18, 2023
1 parent 45042cf commit 3ea5595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ VignetteBuilder:
Imports:
RCurl,
sf,
unikn,
magrittr,
dplyr,
purrr,
Expand All @@ -68,6 +67,7 @@ Imports:
rstudioapi
Suggests:
knitr,
unikn,
mapview,
rmarkdown,
tidyverse
2 changes: 1 addition & 1 deletion R/scale_innova.R
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ scale_fill_innova <- function(palette = "ccvi", discrete = TRUE, reverse = FALSE
#'@export show_pal

show_pal <- function(name = "all",n = 5,rev = TRUE,...){

require(unikn)
if(sum(unique(name %in% names(innova_palettes))) == 1) {
list_names <- innova_palettes[name]
range_color <- sapply(X = list_names,FUN = function(x){list(x[1:n])})
Expand Down

0 comments on commit 3ea5595

Please sign in to comment.