Skip to content

Commit

Permalink
Tweaked palette_check example
Browse files Browse the repository at this point in the history
  • Loading branch information
njlyon0 committed Dec 5, 2022
1 parent f73fa5a commit f119682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions R/palette_check.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
#'
#' @examples
#' # Check for misformatted hexcodes
#' \dontrun{
#' palette_check(c("#8e847a", "#9fc7f2g3"))
#' }
#' palette_check(palette = c("#8e847a", "#9fc7f2"))
palette_check <- function(palette){

# Check if palette is a character vector
Expand Down
4 changes: 1 addition & 3 deletions man/palette_check.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f119682

Please sign in to comment.