Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/colors.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ getLevels <- function(domain, x, lvls, ordered) {
#' factor, treat it as already in the correct order
#' @rdname colorNumeric
#' @export
colorFactor <- function(palette, domain, levels = NULL, ordered = FALSE,
colorFactor <- function(palette, domain, levels = NULL, ordered = TRUE,
na.color = "#808080", alpha = FALSE, reverse = FALSE) {

# domain usually needs to be explicitly provided (even if NULL) but not if
Expand Down